Skip to content

Commit

Permalink
Button tests: fix IE7 fail for latest focus tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesherov committed Nov 22, 2012
1 parent 93abe02 commit 70e0138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/button/button_events.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ test( "when button loses focus, ensure active state is removed (#8559)", functio
expect( 1 );

$("#button").button().keypress( function() {
$("#button").blur( function() {
$("#button").one( "blur", function() {
ok( !$("#button").is(".ui-state-active"), "button loses active state appropriately" );
}).blur();
}).focus().simulate( "keydown", { keyCode: $.ui.keyCode.ENTER } ).simulate( "keypress", { keyCode: $.ui.keyCode.ENTER } );
Expand Down

0 comments on commit 70e0138

Please sign in to comment.