mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Tests: Change the input in the effects test to a text input. This fixes failing tests in IE8 that could not focus the input.
This commit is contained in:
parent
3de7d8b68c
commit
4f9209feb0
@ -34,7 +34,7 @@ test( "Immediate Return Conditions", function() {
|
||||
test( "createWrapper and removeWrapper retain focused elements (#7595)", function() {
|
||||
expect( 2 );
|
||||
var test = $( "div.hidden" ).show(),
|
||||
input = $( "<input>" ).appendTo( test ).focus();
|
||||
input = $( "<input type='text'>" ).appendTo( test ).focus();
|
||||
|
||||
$.effects.createWrapper( test );
|
||||
equal( document.activeElement, input[ 0 ], "Active element is still input after createWrapper" );
|
||||
|
Loading…
Reference in New Issue
Block a user