diff --git a/lib/jquery.mousewheel.js b/lib/jquery.mousewheel.js index caaaa01..94319d6 100644 --- a/lib/jquery.mousewheel.js +++ b/lib/jquery.mousewheel.js @@ -84,7 +84,9 @@ function handler(event) { // Add event and delta to the front of the arguments args.unshift(event, delta, deltaX, deltaY); - return $.event.handle.apply(this, args); + if ($.event.handle) { + return $.event.handle.apply(this, args); + } } -})(jQuery); \ No newline at end of file +})(jQuery);