diff --git a/js/script.js b/js/script.js index 248511d..fcfddc0 100644 --- a/js/script.js +++ b/js/script.js @@ -84,4 +84,7 @@ help.addEventListener('click', () => { }) // ignore context menu -document.addEventListener('contextmenu', e => e.preventDefault()); \ No newline at end of file +document.addEventListener('contextmenu', e => e.preventDefault()); + +// check for command in input +if (command?.value) processCommand(command.value); \ No newline at end of file