click: remove debug log
This commit is contained in:
parent
ff90ffe503
commit
24dd92a8e4
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ document.body.setAttribute('oncontextmenu', 'return false')
|
|||
|
||||
document.addEventListener('mousedown', (event)=>{
|
||||
|
||||
if (event.touchPunch) return console.log('ignored')
|
||||
if (event.touchPunch) return
|
||||
if (event.sourceCapabilities && event.sourceCapabilities.firesTouchEvents) return
|
||||
if (event.button == 2) event.preventDefault()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue