mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-01 18:41:54 +08:00
paste-as-keys
This commit is contained in:
@@ -32,7 +32,7 @@ var session = new function() {
|
||||
tools.debug("WebSocket opened:", event);
|
||||
atx.loadInitialState();
|
||||
msd.loadInitialState();
|
||||
hid.installCapture(__ws);
|
||||
hid.setSocket(__ws);
|
||||
__missed_heartbeats = 0;
|
||||
__ping_timer = setInterval(__pingServer, 1000);
|
||||
};
|
||||
@@ -69,7 +69,7 @@ var session = new function() {
|
||||
clearInterval(__ping_timer);
|
||||
__ping_timer = null;
|
||||
}
|
||||
hid.clearCapture();
|
||||
hid.setSocket(null);
|
||||
atx.clearState();
|
||||
__ws = null;
|
||||
setTimeout(session.startPoller, 1000);
|
||||
|
||||
Reference in New Issue
Block a user