aboutsummaryrefslogtreecommitdiffstats
path: root/demos/effect/switchClass.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/switchClass.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/switchClass.html')
-rw-r--r--demos/effect/switchClass.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/demos/effect/switchClass.html b/demos/effect/switchClass.html
index f4ced7ca4..65de87f3c 100644
--- a/demos/effect/switchClass.html
+++ b/demos/effect/switchClass.html
@@ -19,7 +19,6 @@
$( "#button" ).click(function(){
$( ".newClass" ).switchClass( "newClass", "anotherNewClass", 1000 );
$( ".anotherNewClass" ).switchClass( "anotherNewClass", "newClass", 1000 );
- return false;
});
});
</script>
@@ -31,7 +30,7 @@
Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede.
</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>