aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/core/core.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unit/core/core.js b/tests/unit/core/core.js
index 099ac468c..7a78ae34d 100644
--- a/tests/unit/core/core.js
+++ b/tests/unit/core/core.js
@@ -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();
});