aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual/accordion
diff options
context:
space:
mode:
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>