Skip to content

Commit

Permalink
accordion: icon test fix, was failing in webkits
Browse files Browse the repository at this point in the history
  • Loading branch information
jzaefferer committed Sep 15, 2009
1 parent 7140ec3 commit ee28074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/accordion/accordion_options.js
Expand Up @@ -128,7 +128,7 @@ test("{ header: '> li > :first-child,> :not(li):even' }, default", function() {

test("{ icons: false }", function() {
function icons(on) {
same($("#list1 span.ui-icon:visible").length, on ? 3 : 0);
same($("#list1 span.ui-icon").length, on ? 3 : 0);
same( $("#list1").hasClass("ui-accordion-icons"), on );
}
$("#list1").accordion();
Expand Down

0 comments on commit ee28074

Please sign in to comment.