diff options
author | Devaev Maxim <[email protected]> | 2018-08-08 08:38:47 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-08-08 08:38:54 +0300 |
commit | 3551ebd9a17cf150d95555ba3ff234910e28a427 (patch) | |
tree | 0e097d880cd295f994d1d3a5ccf35ddec65df945 /kvmd/web/js/session.js | |
parent | d9d433025c70621de888bd5dcf3b23b5c29790b3 (diff) |
paste-as-keys
Diffstat (limited to 'kvmd/web/js/session.js')
-rw-r--r-- | kvmd/web/js/session.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/web/js/session.js b/kvmd/web/js/session.js index d1d301bd..238ff877 100644 --- a/kvmd/web/js/session.js +++ b/kvmd/web/js/session.js @@ -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); |