mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-13 01:30:31 +08:00
reverted terminal button
This commit is contained in:
parent
0d8e89a255
commit
0f66b41118
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user