summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2021-05-03 22:39:02 +0300
committerDevaev Maxim <[email protected]>2021-05-03 22:39:02 +0300
commit5455ad1f67de29f6740f60a600949c33c5f693b0 (patch)
treec2ef1503479f3c674b43de1881e7a3398ca92bbd
parentf2efeb782472ef2a6b0b8175815f7ec2ece7a8bc (diff)
fix
-rw-r--r--web/share/js/kvm/session.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/share/js/kvm/session.js b/web/share/js/kvm/session.js
index 3dd59d12..9a8b33d3 100644
--- a/web/share/js/kvm/session.js
+++ b/web/share/js/kvm/session.js
@@ -110,7 +110,7 @@ export function Session() {
var __setExtras = function(state) {
let show_hook = null;
let close_hook = null;
- let has_webterm = (state.webterm && state.webterm.started);
+ let has_webterm = (state.webterm && (state.webterm.enabled || state.webterm.started));
if (has_webterm) {
let path = "/" + state.webterm.path;
show_hook = function() {