diff options
author | Dave Methvin <dave.methvin@gmail.com> | 2011-09-25 22:04:52 -0400 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2011-09-25 22:04:52 -0400 |
commit | c7838c3607239b0231128b270762609703ae3893 (patch) | |
tree | 52fb9b239163887e15c056b0914cc76d8a597a83 /test | |
parent | b4120a74306e1d98e212c77e5a89c1526a51fc3b (diff) | |
download | jquery-c7838c3607239b0231128b270762609703ae3893.tar.gz jquery-c7838c3607239b0231128b270762609703ae3893.zip |
Minor cleanups to code. Futile effort to get IE to pass the unit test.
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/event.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/unit/event.js b/test/unit/event.js index 319569ab9..1ca3e7d78 100644 --- a/test/unit/event.js +++ b/test/unit/event.js @@ -2386,9 +2386,8 @@ test("delegated events quickIs", function() { test("propHooks extensions", function() { expect( 3 ); - jQuery( "<a id='hook-fixture' href=''></a>" ).appendTo( "#qunit-fixture" ); - - var $fixture = jQuery( "#hook-fixture" ); + // IE requires focusable elements to be visible, so append to body + var $fixture = jQuery( "<input type='text' id='hook-fixture' />" ).appendTo( "body" ); // Ensure the property doesn't exist $fixture.bind( "focus", function( event ) { |