aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/spinner/spinner_core.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/spinner/spinner_core.js')
-rw-r--r--tests/unit/spinner/spinner_core.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/unit/spinner/spinner_core.js b/tests/unit/spinner/spinner_core.js
index bea5f9122..03088fecd 100644
--- a/tests/unit/spinner/spinner_core.js
+++ b/tests/unit/spinner/spinner_core.js
@@ -94,8 +94,11 @@ asyncTest( "blur input while spinning with UP", function() {
function step2() {
value = element.val();
ok( value > 11, "repeating while key is down" );
- element[0].blur();
- setTimeout( step3, 250 );
+
+ element.bind( "blur", function() {
+ value = element.val();
+ setTimeout( step3, 750 );
+ })[ 0 ].blur();
}
function step3() {