Skip to content

Commit

Permalink
Spinner Tests: Fix IE test failures by removing timing dependencies f…
Browse files Browse the repository at this point in the history
…rom focus/blur tests.
  • Loading branch information
mikesherov committed Apr 1, 2013
1 parent efe8da8 commit 5217b97
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/unit/spinner/spinner_core.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 5217b97

Please sign in to comment.