diff options
author | kborchers <k_borchers@yahoo.com> | 2011-11-02 12:22:58 -0500 |
---|---|---|
committer | kborchers <k_borchers@yahoo.com> | 2011-11-02 12:22:58 -0500 |
commit | 4f9209feb020bf11c260195e7c8960a33f3a80fa (patch) | |
tree | 39a34e2d930a6bf6d22dca54d10f7e88b0bb95d3 | |
parent | 3de7d8b68ca310f492fc460418f87e3faa590418 (diff) | |
download | jquery-ui-4f9209feb020bf11c260195e7c8960a33f3a80fa.tar.gz jquery-ui-4f9209feb020bf11c260195e7c8960a33f3a80fa.zip |
Tests: Change the input in the effects test to a text input. This fixes failing tests in IE8 that could not focus the input.
-rw-r--r-- | tests/unit/effects/effects_core.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 = $( "<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" ); |