events: prevent right click context menu reliable style
This commit is contained in:
parent
5a6c1658f9
commit
55720cea18
1 changed files with 1 additions and 2 deletions
|
|
@ -9,8 +9,7 @@ var longTouchTimer = false,
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
document.addEventListener('contextmenu', ()=>{return false})
|
||||
document.body.setAttribute('oncontextmenu', 'return false')
|
||||
|
||||
document.addEventListener('mousedown', (event)=>{
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue