]> source.dussan.org Git - jquery-ui.git/commitdiff
core focus-test, call start() after running assertions
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Sat, 20 Mar 2010 14:37:36 +0000 (14:37 +0000)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Sat, 20 Mar 2010 14:37:36 +0000 (14:37 +0000)
tests/unit/core/core.js

index c94241f19c6af9ffe6546b397ae812fe631a31a6..df811093bbfeab1cba21469ae0ddef0373fde722 100644 (file)
@@ -42,8 +42,8 @@ test('focus', function() {
        // trigger event handler + callback
        stop();
        el.focus(500, function() {
-               start();
                ok(true, 'callback triggered');
+               start();
        });
        other.focus();
 });