Loading static/js/jslinux.api.mjs +1 −1 Original line number Diff line number Diff line Loading @@ -202,7 +202,7 @@ async function pressEnter() { // https://thewebdev.info/2021/05/02/how-to-programmatically-trigger-a-change-event-on-an-input-with-javascript/ textarea.dispatchEvent(new Event("input")) // And waid until a prompt is shown (-> until the command is executed) // And wait until a prompt is shown (-> until the command is executed) await prompt() } Loading Loading
static/js/jslinux.api.mjs +1 −1 Original line number Diff line number Diff line Loading @@ -202,7 +202,7 @@ async function pressEnter() { // https://thewebdev.info/2021/05/02/how-to-programmatically-trigger-a-change-event-on-an-input-with-javascript/ textarea.dispatchEvent(new Event("input")) // And waid until a prompt is shown (-> until the command is executed) // And wait until a prompt is shown (-> until the command is executed) await prompt() } Loading