diff options
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); |