Made the div showing a little more explicit - making sure that it doesn't affect the fx tests.

This commit is contained in:
John Resig 2009-02-17 16:22:41 +00:00
parent f20c974644
commit 4a4d049df9

View file

@ -1523,7 +1523,7 @@ test("prev([String])", function() {
test("show()", function() {
expect(15);
var pass = true, div = jQuery("div");
var pass = true, div = jQuery("#main div");
div.show().each(function(){
if ( this.style.display == "none" ) pass = false;
});