diff --git a/src/event.js b/src/event.js index d4c17cf31..c9231dabb 100644 --- a/src/event.js +++ b/src/event.js @@ -317,7 +317,7 @@ jQuery.event = { } // Note that this is a bare JS function and not a jQuery handler handle = ontype && cur[ ontype ]; - if ( handle && jQuery.acceptData( cur ) && handle.apply( cur, data ) === false ) { + if ( handle && jQuery.acceptData( cur ) && handle.apply && handle.apply( cur, data ) === false ) { event.preventDefault(); } }