Permalink
Browse files

Core tests: Fix double focus in IE

  • Loading branch information...
jzaefferer committed May 4, 2012
1 parent 2fc2f02 commit 96510ea6ccb8eb091ff625a4875e06f8cadfb8ac
Showing with 2 additions and 0 deletions.
  1. +2 −0 tests/unit/core/core.js
View
@@ -20,6 +20,8 @@ asyncTest( "focus", function() {
ok( true, "event triggered" );
})
.focus( 500, function() {
+ // prevent double focus event in IE
+ $( this ).unbind( "focus" );
ok( true, "callback triggered" );
start();
});

0 comments on commit 96510ea

Please sign in to comment.