Skip to content

Commit 17472ac

Browse files
mikesherovscottgonzalez
authored andcommitted
Spinner Tests: Fix IE test failures by accounting for the async nature of focus/blur.(cherry picked from commit efe8da8)
1 parent 7716641 commit 17472ac

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/unit/spinner/spinner_core.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ asyncTest( "blur input while spinning with UP", function() {
9494
function step2() {
9595
value = element.val();
9696
ok( value > 11, "repeating while key is down" );
97+
setTimeout( function() {
98+
value = element.val();
99+
});
97100
element[0].blur();
98101
setTimeout( step3, 250 );
99102
}

0 commit comments

Comments
 (0)