summaryrefslogtreecommitdiff
path: root/web/share/js/index/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/share/js/index/main.js')
-rw-r--r--web/share/js/index/main.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/web/share/js/index/main.js b/web/share/js/index/main.js
index 1173558c..fb4bdc71 100644
--- a/web/share/js/index/main.js
+++ b/web/share/js/index/main.js
@@ -20,10 +20,13 @@
*****************************************************************************/
-var wm;
+import {tools, $} from "../tools.js";
+import {checkBrowser} from "../bb.js";
+import {wm, initWindowManager} from "../wm.js";
-function main() {
- wm = new WindowManager();
+
+export function main() {
+ initWindowManager();
if (checkBrowser()) {
__setAppText();