aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/button
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2013-11-25 15:53:51 +0100
committerJörn Zaefferer <joern.zaefferer@gmail.com>2013-11-25 15:53:51 +0100
commit63026bd2c75f326db558d6173045343b0ce3dc09 (patch)
tree8c0831ea1b9803678246c7fca7f249c9a6fc0a52 /tests/unit/button
parent8eeb0e7d88a943e3860f8492661ac8090cb8d3ac (diff)
downloadjquery-ui-63026bd2c75f326db558d6173045343b0ce3dc09.tar.gz
jquery-ui-63026bd2c75f326db558d6173045343b0ce3dc09.zip
Button unit tests: Make sure the test timeout runs after the formResetHandler. Fixes unit tests in IE7.
Diffstat (limited to 'tests/unit/button')
-rw-r--r--tests/unit/button/button_core.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/button/button_core.js b/tests/unit/button/button_core.js
index 6df7da9db..41623e08d 100644
--- a/tests/unit/button/button_core.js
+++ b/tests/unit/button/button_core.js
@@ -174,7 +174,7 @@ asyncTest( "Resetting a button's form should refresh the visual state of the but
setTimeout(function() {
ok( checkbox.button( "widget" ).hasClass( "ui-state-active" ));
start();
- });
+ }, 1 );
});
asyncTest( "#6711 Checkbox/Radiobutton do not Show Focused State when using Keyboard Navigation", function() {