diff --git a/include/rfb.js b/include/rfb.js index f58cc438..7e01163e 100644 --- a/include/rfb.js +++ b/include/rfb.js @@ -1563,7 +1563,7 @@ that.sendPassword = function(passwd) { }; that.sendCtrlAltDel = function() { - if (rfb_state !== "normal" || conf.view_only==true) { return false; } + if (rfb_state !== "normal" || conf.view_only) { return false; } Util.Info("Sending Ctrl-Alt-Del"); var arr = []; arr = arr.concat(keyEvent(0xFFE3, 1)); // Control