Made the div showing a little more explicit - making sure that it doesn't affect the fx tests.
This commit is contained in:
parent
f20c974644
commit
4a4d049df9
|
@ -1523,7 +1523,7 @@ test("prev([String])", function() {
|
||||||
|
|
||||||
test("show()", function() {
|
test("show()", function() {
|
||||||
expect(15);
|
expect(15);
|
||||||
var pass = true, div = jQuery("div");
|
var pass = true, div = jQuery("#main div");
|
||||||
div.show().each(function(){
|
div.show().each(function(){
|
||||||
if ( this.style.display == "none" ) pass = false;
|
if ( this.style.display == "none" ) pass = false;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue