prevent context menu

This commit is contained in:
Franek 2024-05-24 09:50:43 +02:00
parent 117b5cb99a
commit e5892803a9

View File

@ -83,4 +83,7 @@ if (theme === 'dark')
help.addEventListener('click', () => {
command.value = 'help';
processCommand();
})
})
// ignore context menu
document.addEventListener('contextmenu', e => e.preventDefault());