]> source.dussan.org Git - jquery-ui.git/commitdiff
accordion: icon test fix, was failing in webkits
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Tue, 15 Sep 2009 15:09:41 +0000 (15:09 +0000)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Tue, 15 Sep 2009 15:09:41 +0000 (15:09 +0000)
tests/unit/accordion/accordion_options.js

index 35e87d4323ce59b9cd13ecd1009d6920afccb413..b77cb787ea40258ae36178d77b958096bdbc056e 100644 (file)
@@ -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();