From: kborchers Date: Wed, 2 Nov 2011 17:22:58 +0000 (-0500) Subject: Tests: Change the input in the effects test to a text input. This fixes failing tests... X-Git-Tag: 1.9m7~159 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4f9209feb020bf11c260195e7c8960a33f3a80fa;p=jquery-ui.git Tests: Change the input in the effects test to a text input. This fixes failing tests in IE8 that could not focus the input. --- 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" );