fix: check for command in text input
This commit is contained in:
parent
5ea8c9d506
commit
aee24b18d1
@ -84,4 +84,7 @@ help.addEventListener('click', () => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
// ignore context menu
|
// 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);
|
Loading…
Reference in New Issue
Block a user