diff options
author | Devaev Maxim <[email protected]> | 2018-08-27 13:33:15 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-08-27 13:33:15 +0300 |
commit | 9a243eaa0402aebc61cd7a247a04b57bd8ec0ad3 (patch) | |
tree | 7fb8b66ac413ad516b517542cacb4895e41b8710 /kvmd/web/js/main.js | |
parent | a8773eab1e8f82a7bd862492e5520dcb9690a5e0 (diff) |
refactoring
Diffstat (limited to 'kvmd/web/js/main.js')
-rw-r--r-- | kvmd/web/js/main.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/kvmd/web/js/main.js b/kvmd/web/js/main.js index a0008d53..a1cd8b5d 100644 --- a/kvmd/web/js/main.js +++ b/kvmd/web/js/main.js @@ -7,9 +7,8 @@ function main() { ) { $("bad-browser-modal").style.visibility = "visible"; } else { - var hid = new Hid(); - var ui = new Ui(hid); - new Session(new Atx(), hid, new Msd()); + var ui = new Ui(); + new Session(new Atx(), new Hid(), new Msd()); new Stream(ui); } } |