Skip to content
Browse files

Tests: Change the input in the effects test to a text input. This fix…

…es failing tests in IE8 that could not focus the input.
  • Loading branch information...
1 parent 3de7d8b commit 4f9209feb020bf11c260195e7c8960a33f3a80fa @kborchers kborchers committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/unit/effects/effects_core.js
View
2 tests/unit/effects/effects_core.js
@@ -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" );

0 comments on commit 4f9209f

Please sign in to comment.
Something went wrong with that request. Please try again.