Add the sc object to sendCtrlAltDel because it is otherwise undefined and issues a JS error

This commit is contained in:
Paul Hodges IV 2019-08-20 14:34:16 +00:00
parent 87b9bee02f
commit 1cc7987360

View File

@ -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();