prevent context menu
This commit is contained in:
parent
117b5cb99a
commit
e5892803a9
@ -83,4 +83,7 @@ if (theme === 'dark')
|
||||
help.addEventListener('click', () => {
|
||||
command.value = 'help';
|
||||
processCommand();
|
||||
})
|
||||
})
|
||||
|
||||
// ignore context menu
|
||||
document.addEventListener('contextmenu', e => e.preventDefault());
|
Loading…
Reference in New Issue
Block a user