File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -719,7 +719,7 @@ function createEventHandler(element, events) {
719
719
forEach ( {
720
720
removeData : jqLiteRemoveData ,
721
721
722
- on : function onFn ( element , type , fn , unsupported ) {
722
+ on : function jqLiteOn ( element , type , fn , unsupported ) {
723
723
if ( isDefined ( unsupported ) ) throw jqLiteMinErr ( 'onargs' , 'jqLite#on() does not support the `selector` or `eventData` parameters' ) ;
724
724
725
725
// Do not add event handlers to non-elements because they will not be cleaned up.
@@ -750,7 +750,7 @@ forEach({
750
750
// Read about mouseenter and mouseleave:
751
751
// http://www.quirksmode.org/js/events_mouse.html#link8
752
752
753
- onFn ( element , MOUSE_EVENT_MAP [ type ] , function ( event ) {
753
+ jqLiteOn ( element , MOUSE_EVENT_MAP [ type ] , function ( event ) {
754
754
var target = this , related = event . relatedTarget ;
755
755
// For mousenter/leave call the handler if related is outside the target.
756
756
// NB: No relatedTarget if the mouse left/entered the browser window
You can’t perform that action at this time.
0 commit comments