mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-16 22:10:25 +00:00
Merge pull request #3475 from jasondscott/issue_1524
Issue #1524 - Taphold event fired while scrolling on Blackberry Playbook
This commit is contained in:
commit
d3911f1209
1 changed files with 4 additions and 4 deletions
|
|
@ -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" ) );
|
||||
|
|
|
|||
Loading…
Reference in a new issue