diff --git a/test/data/jquery-1.9.1.js b/test/data/jquery-1.9.1.js index 81bdf19f3..80c97a226 100644 --- a/test/data/jquery-1.9.1.js +++ b/test/data/jquery-1.9.1.js @@ -3525,7 +3525,7 @@ jQuery.each( { related = event.relatedTarget, handleObj = event.handleObj; - // For mouseenter/leave call the handler if related is outside the target. + // For mousenter/leave call the handler if related is outside the target. // NB: No relatedTarget if the mouse left/entered the browser window if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) { event.type = handleObj.origType; diff --git a/test/unit/event.js b/test/unit/event.js index 1750ed61b..274cf41b5 100644 --- a/test/unit/event.js +++ b/test/unit/event.js @@ -877,16 +877,10 @@ QUnit.test( "withinElement implemented with jQuery.contains()", function( assert jQuery( "#qunit-fixture" ).append( "