Core tests: Fix double focus in IE

This commit is contained in:
Jörn Zaefferer 2012-05-04 17:14:56 +02:00
parent 2fc2f02752
commit 96510ea6cc

View File

@ -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();
});