diff options
author | Mike Sherov <mike.sherov@gmail.com> | 2013-03-31 12:55:57 -0400 |
---|---|---|
committer | Mike Sherov <mike.sherov@gmail.com> | 2013-03-31 12:55:57 -0400 |
commit | efe8da8e6e9b50547fe9a632b267c7f8479b6686 (patch) | |
tree | 5d8953e14f9f3d2434db59496a956fce96617695 /tests | |
parent | 70717273a8aaddda27918e3497ab72ae20357867 (diff) | |
download | jquery-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.js | 3 |
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 ); } |