diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-05-04 17:14:56 +0200 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-05-04 17:14:56 +0200 |
commit | 96510ea6ccb8eb091ff625a4875e06f8cadfb8ac (patch) | |
tree | 35a85c395ec8756b94ef09280855fb8164019d5c | |
parent | 2fc2f0275224e6d16397c4fd2e3ef07589efeb64 (diff) | |
download | jquery-ui-96510ea6ccb8eb091ff625a4875e06f8cadfb8ac.tar.gz jquery-ui-96510ea6ccb8eb091ff625a4875e06f8cadfb8ac.zip |
Core tests: Fix double focus in IE
-rw-r--r-- | tests/unit/core/core.js | 2 |
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(); }); |