]> source.dussan.org Git - jquery-ui.git/commitdiff
Workaround for #4786, improved
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Tue, 18 Aug 2009 19:23:49 +0000 (19:23 +0000)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Tue, 18 Aug 2009 19:23:49 +0000 (19:23 +0000)
demos/accordion/sortable.html

index 05da11310c856766d69d86adf84fde80d58c17cc..82e119bb4b70266faca9b73a84c19476f378056e 100644 (file)
@@ -14,6 +14,7 @@
                $("#accordion h3").click(function(event) {
                        if (stop) {
                                event.stopImmediatePropagation();
+                               event.preventDefault();
                                stop = false;
                        }
                });