mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Spinner Tests: Fix IE test failures by accounting for the async nature of focus/blur.
This commit is contained in:
parent
70717273a8
commit
efe8da8e6e
@ -94,6 +94,9 @@ asyncTest( "blur input while spinning with UP", function() {
|
|||||||
function step2() {
|
function step2() {
|
||||||
value = element.val();
|
value = element.val();
|
||||||
ok( value > 11, "repeating while key is down" );
|
ok( value > 11, "repeating while key is down" );
|
||||||
|
setTimeout( function() {
|
||||||
|
value = element.val();
|
||||||
|
});
|
||||||
element[0].blur();
|
element[0].blur();
|
||||||
setTimeout( step3, 250 );
|
setTimeout( step3, 250 );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user