diff options
author | Maxim Devaev <[email protected]> | 2023-12-08 20:21:08 +0200 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2023-12-08 20:21:08 +0200 |
commit | 0f66b41118e4ededca7d354ac4e88f175274b620 (patch) | |
tree | ee01eacc838c9148a2b0e5469556708b72b4f065 | |
parent | 0d8e89a255ecc69ef87e21fa1a13e95e826100c2 (diff) |
reverted terminal button
-rw-r--r-- | web/share/js/kvm/session.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/share/js/kvm/session.js b/web/share/js/kvm/session.js index c8468b90..7168aeae 100644 --- a/web/share/js/kvm/session.js +++ b/web/share/js/kvm/session.js @@ -251,7 +251,7 @@ export function Session() { let close_hook = null; let has_webterm = (state.webterm && (state.webterm.enabled || state.webterm.started)); if (has_webterm) { - let path = "/" + state.webterm.path.split("?")[0] + "?disableLeaveAlert=true"; + let path = "/" + state.webterm.path; show_hook = function() { tools.info("Terminal opened: ", path); $("webterm-iframe").src = path; |