aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual/accordion
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2009-01-30 16:58:29 +0000
committerJörn Zaefferer <joern.zaefferer@gmail.com>2009-01-30 16:58:29 +0000
commit2b7f14f2348242b481e6562988096d8b254680b9 (patch)
tree8f33d754e9757e9211ac05a68578aca1313eb4dd /tests/visual/accordion
parentcc62471b4f6647883ef5aa8a24cfa54578f49533 (diff)
downloadjquery-ui-2b7f14f2348242b481e6562988096d8b254680b9.tar.gz
jquery-ui-2b7f14f2348242b481e6562988096d8b254680b9.zip
accordion: better default for header-option
Diffstat (limited to 'tests/visual/accordion')
-rw-r--r--tests/visual/accordion/default.html2
-rw-r--r--tests/visual/accordion/dl.html4
2 files changed, 2 insertions, 4 deletions
diff --git a/tests/visual/accordion/default.html b/tests/visual/accordion/default.html
index 1aacc1b59..e7023e940 100644
--- a/tests/visual/accordion/default.html
+++ b/tests/visual/accordion/default.html
@@ -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>
diff --git a/tests/visual/accordion/dl.html b/tests/visual/accordion/dl.html
index 9bc8886e8..6d1262558 100644
--- a/tests/visual/accordion/dl.html
+++ b/tests/visual/accordion/dl.html
@@ -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>