aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2013-01-08 07:54:11 -0500
committerScott González <scott.gonzalez@gmail.com>2013-01-08 07:54:11 -0500
commit48a790a327fef7773f7686e4b42e4c9ef67a84ad (patch)
tree9da9a87f82950cd213e2378fa85aae0d49bfb0b8
parentcc5ac08fdeac94c8ee0ccdf6c50e78de44db47fc (diff)
downloadjquery-ui-48a790a327fef7773f7686e4b42e4c9ef67a84ad.tar.gz
jquery-ui-48a790a327fef7773f7686e4b42e4c9ef67a84ad.zip
Core: Resume focus test based on the event, not the callback.
-rw-r--r--tests/unit/core/core.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/core/core.js b/tests/unit/core/core.js
index 86b95e157..78a225338 100644
--- a/tests/unit/core/core.js
+++ b/tests/unit/core/core.js
@@ -19,10 +19,10 @@ asyncTest( "focus", function() {
$( "#inputTabindex0" )
.one( "focus", function() {
ok( true, "event triggered" );
+ start();
})
.focus( 500, function() {
ok( true, "callback triggered" );
- start();
});
});