diff --git a/src/event/alias.js b/src/event/alias.js index 4ec920a03..eb43537ff 100644 --- a/src/event/alias.js +++ b/src/event/alias.js @@ -3,9 +3,9 @@ define([ "../event" ], function( jQuery ) { -jQuery.each( ("blur focus focusin focusout load resize scroll unload click dblclick " + +jQuery.each( ("blur focus focusin focusout resize scroll click dblclick " + "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " + - "change select submit keydown keypress keyup error contextmenu").split(" "), + "change select submit keydown keypress keyup contextmenu").split(" "), function( i, name ) { // Handle event binding diff --git a/test/unit/event.js b/test/unit/event.js index d9bdafc34..a84ec087a 100644 --- a/test/unit/event.js +++ b/test/unit/event.js @@ -901,7 +901,7 @@ test("mouseenter, mouseleave don't catch exceptions", function() { if ( jQuery.fn.click ) { test("trigger() shortcuts", function() { - expect(6); + expect(5); var counter, clickCounter, elem = jQuery("