fix: check for command in text input

This commit is contained in:
Franek 2024-05-24 09:59:22 +02:00
parent 5ea8c9d506
commit aee24b18d1

View File

@ -84,4 +84,7 @@ help.addEventListener('click', () => {
})
// ignore context menu
document.addEventListener('contextmenu', e => e.preventDefault());
document.addEventListener('contextmenu', e => e.preventDefault());
// check for command in input
if (command?.value) processCommand(command.value);