From: Jörn Zaefferer Date: Tue, 15 Sep 2009 15:09:41 +0000 (+0000) Subject: accordion: icon test fix, was failing in webkits X-Git-Tag: 1.8a2~93 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ee28074bb038d357ea28bbc36e40ac6686380d3f;p=jquery-ui.git accordion: icon test fix, was failing in webkits --- diff --git a/tests/unit/accordion/accordion_options.js b/tests/unit/accordion/accordion_options.js index 35e87d432..b77cb787e 100644 --- a/tests/unit/accordion/accordion_options.js +++ b/tests/unit/accordion/accordion_options.js @@ -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();