]> source.dussan.org Git - jquery-ui.git/commitdiff
Button demo: modified order of selectors. Fixed #7094 - Buttons problem in Opera
authorBen Boyle <benjamins.boyle@gmail.com>
Mon, 16 May 2011 11:08:13 +0000 (21:08 +1000)
committerScott González <scott.gonzalez@gmail.com>
Mon, 16 May 2011 12:18:56 +0000 (08:18 -0400)
(cherry picked from commit a6a8611556205aee7c1d6cb82d4ac47050b94678)

demos/button/default.html

index 1ea3fa79652959bed1edf3e454f1549de4aee054..969ec68380cce171317bf4d44490b0ce8d2f4f3b 100644 (file)
@@ -11,7 +11,7 @@
        <link rel="stylesheet" href="../demos.css">
        <script>
        $(function() {
-               $( "button, input:submit, a", ".demo" ).button();
+               $( "input:submit, a, button", ".demo" ).button();
                $( "a", ".demo" ).click(function() { return false; });
        });
        </script>