mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Fix test for #13937 ticket. Close gh-1299
(cherry picked from commit 308980ee2a
)
This commit is contained in:
parent
f8d0581f46
commit
48a948f4c0
6
test/unit/effects.js
vendored
6
test/unit/effects.js
vendored
@ -2171,7 +2171,11 @@ asyncTest( ".finish() is applied correctly when multiple elements were animated
|
|||||||
ok( elems.eq( 0 ).queue().length, "non-empty queue for preceding element" );
|
ok( elems.eq( 0 ).queue().length, "non-empty queue for preceding element" );
|
||||||
ok( elems.eq( 2 ).queue().length, "non-empty queue for following element" );
|
ok( elems.eq( 2 ).queue().length, "non-empty queue for following element" );
|
||||||
elems.stop( true );
|
elems.stop( true );
|
||||||
start();
|
|
||||||
|
// setTimeout needed in order to avoid setInterval/setTimeout execution bug in FF
|
||||||
|
window.setTimeout(function() {
|
||||||
|
start();
|
||||||
|
}, 1000 );
|
||||||
}, 100 );
|
}, 100 );
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user