From 1cc79873609f856d490d3d0ad564f9d2c1708050 Mon Sep 17 00:00:00 2001 From: Paul Hodges IV <phodges4@gmail.com> Date: Tue, 20 Aug 2019 14:34:16 +0000 Subject: [PATCH] Add the sc object to sendCtrlAltDel because it is otherwise undefined and issues a JS error --- src/inputs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- GitLab