click: remove debug log

This commit is contained in:
jean-emmanuel 2018-02-19 09:29:10 +01:00
parent ba6f1419c3
commit 709d0a7f25

View file

@ -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()