aboutsummaryrefslogtreecommitdiffstats
path: root/demos/effect/toggleClass.html
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2014-04-24 19:39:08 +0200
committerJörn Zaefferer <joern.zaefferer@gmail.com>2014-04-24 19:39:08 +0200
commit7d0ca5e37dcf1b8dd1e201df2693e851da8ebb77 (patch)
treebac24883214efd7113f8e02097e2699f9cfdd95a /demos/effect/toggleClass.html
parente5008c2de1f08810d77a9d75cdcfe2b7af3d090f (diff)
downloadjquery-ui-7d0ca5e37dcf1b8dd1e201df2693e851da8ebb77.tar.gz
jquery-ui-7d0ca5e37dcf1b8dd1e201df2693e851da8ebb77.zip
Button demo: Replace anchors with more appropriate buttons
Diffstat (limited to 'demos/effect/toggleClass.html')
-rw-r--r--demos/effect/toggleClass.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/demos/effect/toggleClass.html b/demos/effect/toggleClass.html
index c74f7bb5d..182f2121c 100644
--- a/demos/effect/toggleClass.html
+++ b/demos/effect/toggleClass.html
@@ -17,7 +17,6 @@
$(function() {
$( "#button" ).click(function() {
$( "#effect" ).toggleClass( "newClass", 1000 );
- return false;
});
});
</script>
@@ -30,7 +29,7 @@
</div>
</div>
-<a href="#" id="button" class="ui-state-default ui-corner-all">Run Effect</a>
+<button id="button" class="ui-state-default ui-corner-all">Run Effect</button>
<div class="demo-description">
<p>Click the button above to preview the effect.</p>