Skip to content

Commit 83e0b4c

Browse files
mikesherovscottgonzalez
authored andcommitted
Spinner Tests: Fix IE test failures by removing timing dependencies from focus/blur tests.(cherry picked from commit 5217b97)
1 parent 17472ac commit 83e0b4c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/unit/spinner/spinner_core.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,11 @@ 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() {
97+
98+
element.bind( "blur", function() {
9899
value = element.val();
99-
});
100-
element[0].blur();
101-
setTimeout( step3, 250 );
100+
setTimeout( step3, 750 );
101+
})[ 0 ].blur();
102102
}
103103

104104
function step3() {

0 commit comments

Comments
 (0)