Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 4f9209feb020bf11c260195e7c8960a33f3a80fa 1 parent 3de7d8b
@kborchers kborchers authored
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" );
Please sign in to comment.
Something went wrong with that request. Please try again.