summaryrefslogtreecommitdiff
path: root/web/share/js/kvm/session.js
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2021-05-09 07:59:00 +0300
committerDevaev Maxim <[email protected]>2021-05-09 07:59:00 +0300
commit42601dae58c3a4fad9df153f3cf87a62b724b535 (patch)
tree52e83e9231d3f570abc03a531ba8bfebf7235060 /web/share/js/kvm/session.js
parent8aa0162ba2ea5f847a64677c63412c7f580ac8d8 (diff)
refactoring
Diffstat (limited to 'web/share/js/kvm/session.js')
-rw-r--r--web/share/js/kvm/session.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/share/js/kvm/session.js b/web/share/js/kvm/session.js
index de1df249..894dc6f1 100644
--- a/web/share/js/kvm/session.js
+++ b/web/share/js/kvm/session.js
@@ -44,10 +44,10 @@ export function Session() {
var __ping_timer = null;
var __missed_heartbeats = 0;
- var __hid = new Hid();
+ var __streamer = new Streamer();
+ var __hid = new Hid(__streamer.getResolution);
var __atx = new Atx();
var __msd = new Msd();
- var __streamer = new Streamer(__hid);
var __wol = new WakeOnLan();
var __gpio = new Gpio();