diff --git a/views/default.handlebars b/views/default.handlebars index f00dbb95..d0e3e492 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -17218,7 +17218,7 @@ // Request Confirmation if closing while a desktop, terminal session is active window.addEventListener('beforeunload', function (e) { - if (((desktop != null) && (xxcurrentView == 11)) || ((terminal != null) && (xxcurrentView = 12))) { e.preventDefault(); e.returnValue = ''; } + if (((desktop != null) && (xxcurrentView == 11)) || ((terminal != null) && (xxcurrentView == 12))) { e.preventDefault(); e.returnValue = ''; } });