From 9a243eaa0402aebc61cd7a247a04b57bd8ec0ad3 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Mon, 27 Aug 2018 13:33:15 +0300 Subject: refactoring --- kvmd/web/js/main.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'kvmd/web/js/main.js') 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); } } -- cgit v1.2.3