mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
parent
fbf829b724
commit
1823a71566
@ -121,7 +121,7 @@ jQuery.extend( jQuery.event, {
|
|||||||
special._default.apply( eventPath.pop(), data ) === false ) &&
|
special._default.apply( eventPath.pop(), data ) === false ) &&
|
||||||
acceptData( elem ) ) {
|
acceptData( elem ) ) {
|
||||||
|
|
||||||
// Call a native DOM method on the target with the same name name as the event.
|
// Call a native DOM method on the target with the same name as the event.
|
||||||
// Don't do default actions on window, that's where global variables be (#6170)
|
// Don't do default actions on window, that's where global variables be (#6170)
|
||||||
if ( ontype && jQuery.isFunction( elem[ type ] ) && !jQuery.isWindow( elem ) ) {
|
if ( ontype && jQuery.isFunction( elem[ type ] ) && !jQuery.isWindow( elem ) ) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user