diff --git a/test/unit/event.js b/test/unit/event.js index 8b3209733..70d616008 100644 --- a/test/unit/event.js +++ b/test/unit/event.js @@ -2324,6 +2324,9 @@ test("focusin bubbles", function() { var input = jQuery( "" ).prependTo( "body" ), order = 0; + // focus the element so DOM focus won't fire + input[0].focus(); + jQuery( "body" ).bind( "focusin.focusinBubblesTest", function(){ equal( 1, order++, "focusin on the body second" ); });