diff --git a/jquery.longclick.js b/jquery.longclick.js index 0cdb4af..51b87d3 100644 --- a/jquery.longclick.js +++ b/jquery.longclick.js @@ -114,7 +114,7 @@ /* Flag as "fired" and rejoin the default event flow */ $(element).data(_fired_, true) event.type= type - jQuery.event.handle.apply(element, args) + jQuery.event.dispatch.apply(element, args) } } function annul(event){ @@ -143,4 +143,4 @@ /* Storage keys */ _duration_= 'duration'+namespace, _timer_= 'timer'+namespace, _fired_= 'fired'+namespace -})(jQuery); \ No newline at end of file +})(jQuery);