mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
accordion tests: Fixed JavaScript warnings.
This commit is contained in:
parent
46cfa2f147
commit
5917978bfd
@ -42,10 +42,10 @@ test("activate, numeric", function() {
|
||||
test("activate, boolean and numeric, alwaysOpen:false", function() {
|
||||
var ac = $('#list1').accordion({alwaysOpen: false}).accordion("activate", 2);
|
||||
state(ac, 0, 0, 1);
|
||||
ok("x", "----")
|
||||
ok("x", "----");
|
||||
ac.accordion("activate", 0);
|
||||
state(ac, 1, 0, 0);
|
||||
ok("x", "----")
|
||||
ok("x", "----");
|
||||
ac.accordion("activate", -1);
|
||||
state(ac, 0, 0, 0);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user