aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMike Sherov <mike.sherov@gmail.com>2013-03-31 12:55:57 -0400
committerMike Sherov <mike.sherov@gmail.com>2013-03-31 12:55:57 -0400
commitefe8da8e6e9b50547fe9a632b267c7f8479b6686 (patch)
tree5d8953e14f9f3d2434db59496a956fce96617695 /tests
parent70717273a8aaddda27918e3497ab72ae20357867 (diff)
downloadjquery-ui-efe8da8e6e9b50547fe9a632b267c7f8479b6686.tar.gz
jquery-ui-efe8da8e6e9b50547fe9a632b267c7f8479b6686.zip
Spinner Tests: Fix IE test failures by accounting for the async nature of focus/blur.
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/spinner/spinner_core.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/unit/spinner/spinner_core.js b/tests/unit/spinner/spinner_core.js
index bea5f9122..f9bd7c2e4 100644
--- a/tests/unit/spinner/spinner_core.js
+++ b/tests/unit/spinner/spinner_core.js
@@ -94,6 +94,9 @@ asyncTest( "blur input while spinning with UP", function() {
function step2() {
value = element.val();
ok( value > 11, "repeating while key is down" );
+ setTimeout( function() {
+ value = element.val();
+ });
element[0].blur();
setTimeout( step3, 250 );
}