Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Touchend (and vmouseup) are not propagated if $.event.special.tap.emitTapOnTaphold is set to false (fixes #5983) #6719

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion js/events/touch.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ define( [ "jquery", "../jquery.mobile.vmouse", "../jquery.mobile.support.touch"
if ( !isTaphold && origTarget === event.target ) {
triggerCustomEvent( thisObject, "tap", event );
} else if ( isTaphold ) {
event.stopPropagation();
event.preventDefault();
}
}

Expand Down