diff options
author | Paul Hodges IV <phodges4@gmail.com> | 2019-08-20 14:34:16 +0000 |
---|---|---|
committer | Paul Hodges IV <phodges4@gmail.com> | 2019-08-20 14:34:16 +0000 |
commit | 1cc79873609f856d490d3d0ad564f9d2c1708050 (patch) | |
tree | 385cb442281fa2fbfada58c75ae590ff8be76d84 | |
parent | 87b9bee02f1313d3b8a696cb2501b4484cc42e57 (diff) |
Add the sc object to sendCtrlAltDel because it is otherwise undefined and issues a JS error
-rw-r--r-- | src/inputs.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inputs.js b/src/inputs.js index 0c4e183..c6fd3f7 100644 --- a/src/inputs.js +++ b/src/inputs.js @@ -190,7 +190,7 @@ function handle_keyup(e) e.preventDefault(); } -function sendCtrlAltDel() +function sendCtrlAltDel(sc) { if (sc && sc.inputs && sc.inputs.state === "ready"){ var key = new Messages.SpiceMsgcKeyDown(); |