Skip to content
Permalink
Browse files

Button tests: fix IE7 fail for latest focus tests

  • Loading branch information...
mikesherov committed Nov 22, 2012
1 parent 93abe02 commit 70e013830d6cd6cbeb873422912dd806dc42fbef
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/unit/button/button_events.js
@@ -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 } );

0 comments on commit 70e0138

Please sign in to comment.
You can’t perform that action at this time.