Skip to content

Commit 63026bd

Browse files
committed
Button unit tests: Make sure the test timeout runs after the formResetHandler. Fixes unit tests in IE7.
1 parent 8eeb0e7 commit 63026bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/button/button_core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ asyncTest( "Resetting a button's form should refresh the visual state of the but
174174
setTimeout(function() {
175175
ok( checkbox.button( "widget" ).hasClass( "ui-state-active" ));
176176
start();
177-
});
177+
}, 1 );
178178
});
179179

180180
asyncTest( "#6711 Checkbox/Radiobutton do not Show Focused State when using Keyboard Navigation", function() {

0 commit comments

Comments
 (0)