aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMike Sherov <mike.sherov@gmail.com>2013-04-01 08:59:52 -0400
committerScott González <scott.gonzalez@gmail.com>2013-04-17 15:07:29 -0400
commit83e0b4c6c8447bc4c496596c4d73c0cd36adefc4 (patch)
tree5d70786421fdffbaacf9953ea1ab0c78d712500e /tests
parent17472ace8c8a06c4471da4316281af4933329b1c (diff)
downloadjquery-ui-83e0b4c6c8447bc4c496596c4d73c0cd36adefc4.tar.gz
jquery-ui-83e0b4c6c8447bc4c496596c4d73c0cd36adefc4.zip
Spinner Tests: Fix IE test failures by removing timing dependencies from focus/blur tests.(cherry picked from commit 5217b975f32aeca0bf12ca76f24084f319b46ebe)
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/spinner/spinner_core.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit/spinner/spinner_core.js b/tests/unit/spinner/spinner_core.js
index f9bd7c2e4..03088fecd 100644
--- a/tests/unit/spinner/spinner_core.js
+++ b/tests/unit/spinner/spinner_core.js
@@ -94,11 +94,11 @@ asyncTest( "blur input while spinning with UP", function() {
function step2() {
value = element.val();
ok( value > 11, "repeating while key is down" );
- setTimeout( function() {
+
+ element.bind( "blur", function() {
value = element.val();
- });
- element[0].blur();
- setTimeout( step3, 250 );
+ setTimeout( step3, 750 );
+ })[ 0 ].blur();
}
function step3() {