events: fake-click without jquery
This commit is contained in:
parent
59c5f4345d
commit
9c41192ce4
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ document.addEventListener('mousedown', (event)=>{
|
|||
|
||||
document.addEventListener('touchstart', (event)=>{
|
||||
|
||||
var e = fix(event)
|
||||
var e = fix(event.changedTouches[0])
|
||||
|
||||
DOM.dispatchEvent(e.target, 'fake-click', e)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue