diff --git a/js/jquery.mobile.event.js b/js/jquery.mobile.event.js index d9041748..4b0b9b7e 100644 --- a/js/jquery.mobile.event.js +++ b/js/jquery.mobile.event.js @@ -92,8 +92,8 @@ $.event.special.tap = { clearTapTimer(); $this.unbind( "vclick", clickHandler ) - .unbind( "vmouseup", clearTapTimer ) - .unbind( "vmousecancel", clearTapHandlers ); + .unbind( "vmouseup", clearTapTimer ); + $(document).unbind("vmousecancel", clearTapHandlers); } function clickHandler(event) { @@ -106,9 +106,9 @@ $.event.special.tap = { } } - $this.bind( "vmousecancel", clearTapHandlers ) - .bind( "vmouseup", clearTapTimer ) + $this.bind( "vmouseup", clearTapTimer ) .bind( "vclick", clickHandler ); + $(document).bind("vmousecancel", clearTapHandlers); timer = setTimeout(function() { triggerCustomEvent( thisObject, "taphold", $.Event( "taphold" ) );