events: fake-click without jquery
This commit is contained in:
parent
c896b38b43
commit
9d919c7ea7
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