aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2012-05-04 17:14:56 +0200
committerJörn Zaefferer <joern.zaefferer@gmail.com>2012-05-04 17:14:56 +0200
commit96510ea6ccb8eb091ff625a4875e06f8cadfb8ac (patch)
tree35a85c395ec8756b94ef09280855fb8164019d5c
parent2fc2f0275224e6d16397c4fd2e3ef07589efeb64 (diff)
downloadjquery-ui-96510ea6ccb8eb091ff625a4875e06f8cadfb8ac.tar.gz
jquery-ui-96510ea6ccb8eb091ff625a4875e06f8cadfb8ac.zip
Core tests: Fix double focus in IE
-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();
});