aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMike Sherov <mike.sherov@gmail.com>2013-03-31 12:55:57 -0400
committerScott González <scott.gonzalez@gmail.com>2013-04-17 15:07:24 -0400
commit17472ace8c8a06c4471da4316281af4933329b1c (patch)
tree38692a96d09146784d6aba9e0bf24d421fc755c3 /tests
parent771664153ef9056be9234b1e96d8771f782953e9 (diff)
downloadjquery-ui-17472ace8c8a06c4471da4316281af4933329b1c.tar.gz
jquery-ui-17472ace8c8a06c4471da4316281af4933329b1c.zip
Spinner Tests: Fix IE test failures by accounting for the async nature of focus/blur.(cherry picked from commit efe8da8e6e9b50547fe9a632b267c7f8479b6686)
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 );
}