We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad5bfc7 commit da0fe50Copy full SHA for da0fe50
tests/unit/accordion/accordion.html
@@ -23,7 +23,9 @@
23
var args = $.makeArray(arguments).slice(1);
24
var result = [];
25
$.each(args, function(i, n) {
26
- result.push( accordion.find(".ui-accordion-content").eq(i).is(":visible") ? 1 : 0 );
+ result.push( accordion.find(".ui-accordion-content").eq(i).filter(function() {
27
+ return $(this).css("display") != "none"
28
+ }).length ? 1 : 0 );
29
});
30
same(args, result)
31
}
0 commit comments