diff options
Diffstat (limited to 'demos/switchClass/default.html')
-rw-r--r-- | demos/switchClass/default.html | 5 |
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> |