From 96510ea6ccb8eb091ff625a4875e06f8cadfb8ac Mon Sep 17 00:00:00 2001 From: Jörn Zaefferer Date: Fri, 4 May 2012 17:14:56 +0200 Subject: Core tests: Fix double focus in IE --- tests/unit/core/core.js | 2 ++ 1 file changed, 2 insertions(+) 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(); }); -- cgit v1.2.3