accordion: fix for the previous commit; event triggering still somewhat crippled, a few tests failing

This commit is contained in:
Jörn Zaefferer
2009-01-30 16:49:40 +00:00
parent 00b0b3661f
commit cc62471b4f
2 changed files with 13 additions and 17 deletions

View File

@@ -10,7 +10,7 @@
<script type="text/javascript">
$(function() {
function on() {
$("#accordion").accordion({ header: "h3" });
$("#accordion").accordion();
}
function off() {
$("#accordion").accordion("destroy");