]> source.dussan.org Git - jquery-ui.git/commitdiff
accordion: better default for header-option
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Fri, 30 Jan 2009 16:58:29 +0000 (16:58 +0000)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Fri, 30 Jan 2009 16:58:29 +0000 (16:58 +0000)
tests/visual/accordion/default.html
tests/visual/accordion/dl.html

index 1aacc1b59993202947133d4fe8bcd0f08e5b2ffb..e7023e94051861609a2ba1a90f3a6296751aaee0 100644 (file)
@@ -9,7 +9,7 @@
        <script type="text/javascript" src="../../../ui/ui.accordion.js"></script>
        <script type="text/javascript">
        $(function() {
-               $("#accordion").accordion({ header: "h3" });
+               $("#accordion").accordion();
        })
        </script>
 </head>
index 9bc8886e81f2cf220bde6c11c8b4b951404b2377..6d12625588bb5849b61a733fcfa469c6dcc13318 100644 (file)
@@ -10,9 +10,7 @@
        <script type="text/javascript" src="../../../ui/ui.accordion.js"></script>
        <script type="text/javascript">
        $(function() {
-               $("dl").accordion({
-                       header: "dt"
-               })
+               $("dl").accordion()
        });
        </script>
 </head>