summaryrefslogtreecommitdiff
path: root/kvmd/web/js/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/web/js/main.js')
-rw-r--r--kvmd/web/js/main.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/kvmd/web/js/main.js b/kvmd/web/js/main.js
index a1cd8b5d..211e8525 100644
--- a/kvmd/web/js/main.js
+++ b/kvmd/web/js/main.js
@@ -1,3 +1,5 @@
+var ui;
+
function main() {
if (
!window.navigator
@@ -7,8 +9,8 @@ function main() {
) {
$("bad-browser-modal").style.visibility = "visible";
} else {
- var ui = new Ui();
+ ui = new Ui();
new Session(new Atx(), new Hid(), new Msd());
- new Stream(ui);
+ new Stream();
}
}