Skip to content

Commit 4f9209f

Browse files
committed
Tests: Change the input in the effects test to a text input. This fixes failing tests in IE8 that could not focus the input.
1 parent 3de7d8b commit 4f9209f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/effects/effects_core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ test( "Immediate Return Conditions", function() {
3434
test( "createWrapper and removeWrapper retain focused elements (#7595)", function() {
3535
expect( 2 );
3636
var test = $( "div.hidden" ).show(),
37-
input = $( "<input>" ).appendTo( test ).focus();
37+
input = $( "<input type='text'>" ).appendTo( test ).focus();
3838

3939
$.effects.createWrapper( test );
4040
equal( document.activeElement, input[ 0 ], "Active element is still input after createWrapper" );

0 commit comments

Comments
 (0)