aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 );
});