doubletap: modalfix: prevent side effects
This commit is contained in:
parent
aafc4f43b3
commit
b71134d733
1 changed files with 2 additions and 2 deletions
|
|
@ -25,8 +25,8 @@ module.exports = (element, callback, options={})=>{
|
|||
setTimeout(callback, 0)
|
||||
lastTapTime = 0
|
||||
|
||||
// prevent touchend
|
||||
event.detail.preventOriginalEvent = true
|
||||
// prevent touchend
|
||||
if (!options.click) event.detail.preventOriginalEvent = true
|
||||
|
||||
} else {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue