aboutsummaryrefslogtreecommitdiffstats
path: root/demos/toggleClass/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/toggleClass/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/toggleClass/default.html')
-rw-r--r--demos/toggleClass/default.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/toggleClass/default.html b/demos/toggleClass/default.html
index 7a3dbb24e..7f5bf25f8 100644
--- a/demos/toggleClass/default.html
+++ b/demos/toggleClass/default.html
@@ -17,6 +17,7 @@
$(function() {
$("#button").click(function() {
$('#effect').toggleClass('newClass', 1000);
+ return false;
});
});
</script>