From 4f9209feb020bf11c260195e7c8960a33f3a80fa Mon Sep 17 00:00:00 2001 From: kborchers Date: Wed, 2 Nov 2011 12:22:58 -0500 Subject: [PATCH] Tests: Change the input in the effects test to a text input. This fixes failing tests in IE8 that could not focus the input. --- tests/unit/effects/effects_core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/effects/effects_core.js b/tests/unit/effects/effects_core.js index e1d52bd80..aca4c4694 100644 --- a/tests/unit/effects/effects_core.js +++ b/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 = $( "" ).appendTo( test ).focus(); + input = $( "" ).appendTo( test ).focus(); $.effects.createWrapper( test ); equal( document.activeElement, input[ 0 ], "Active element is still input after createWrapper" ); -- 2.39.5