diff --git a/jquery.longpress.js b/jquery.longpress.js index b061ece..ca32cfd 100644 --- a/jquery.longpress.js +++ b/jquery.longpress.js @@ -29,6 +29,7 @@ // mousedown or touchstart callback function mousedown_callback(e) { + clearTimeout(timeout); mouse_down_time = new Date().getTime(); var context = $(this);