aboutsummaryrefslogtreecommitdiffstats
path: root/demos/switchClass/default.html
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2009-03-02 09:26:09 +0000
committerRichard Worth <rdworth@gmail.com>2009-03-02 09:26:09 +0000
commit05cfcedaa2be0c098845a6a2f997635cf7dfa6eb (patch)
tree815067a3987d4eee93320bffb7d238a093e85c24 /demos/switchClass/default.html
parentf45e2b2da3467254c2a3da3ab86c8c2dd58e3dcd (diff)
downloadjquery-ui-05cfcedaa2be0c098845a6a2f997635cf7dfa6eb.tar.gz
jquery-ui-05cfcedaa2be0c098845a6a2f997635cf7dfa6eb.zip
demos: effects - added return false; to button click handlers
Diffstat (limited to 'demos/switchClass/default.html')
-rw-r--r--demos/switchClass/default.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/demos/switchClass/default.html b/demos/switchClass/default.html
index fd4780d96..eb59da648 100644
--- a/demos/switchClass/default.html
+++ b/demos/switchClass/default.html
@@ -17,8 +17,9 @@
<script type="text/javascript">
$(function() {
$("#button").click(function(){
- $(".newClass").switchClass('newClass', 'anotherNewClass', 1000);
- $(".anotherNewClass").switchClass('anotherNewClass', 'newClass', 1000);
+ $(".newClass").switchClass('newClass', 'anotherNewClass', 1000);
+ $(".anotherNewClass").switchClass('anotherNewClass', 'newClass', 1000);
+ return false;
});
});
</script>