aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/effects.js
diff options
context:
space:
mode:
authorOleg <markelog@gmail.com>2013-06-27 14:35:21 +0400
committerOleg <markelog@gmail.com>2013-07-01 22:31:01 +0400
commit308980ee2a5c85ba1600446d093edc921f9a71de (patch)
tree759fb23c090f1e9fb94ed25c2f6c2262e2047609 /test/unit/effects.js
parent16115c1d9117cd0c22504d7b52f0f91e18c0d8df (diff)
downloadjquery-308980ee2a5c85ba1600446d093edc921f9a71de.tar.gz
jquery-308980ee2a5c85ba1600446d093edc921f9a71de.zip
Fix test for #13937 ticket. Close gh-1299
Diffstat (limited to 'test/unit/effects.js')
-rw-r--r--test/unit/effects.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/unit/effects.js b/test/unit/effects.js
index 4c4e31495..e740191ce 100644
--- a/test/unit/effects.js
+++ b/test/unit/effects.js
@@ -2133,7 +2133,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( 2 ).queue().length, "non-empty queue for following element" );
elems.stop( true );
- start();
+
+ // setTimeout needed in order to avoid setInterval/setTimeout execution bug in FF
+ window.setTimeout(function() {
+ start();
+ }, 1000 );
}, 100 );
});