summaryrefslogtreecommitdiff
path: root/web/share/js/login
diff options
context:
space:
mode:
Diffstat (limited to 'web/share/js/login')
-rw-r--r--web/share/js/login/main.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/web/share/js/login/main.js b/web/share/js/login/main.js
index cd0746fc..3de2bf41 100644
--- a/web/share/js/login/main.js
+++ b/web/share/js/login/main.js
@@ -20,11 +20,14 @@
*****************************************************************************/
-var wm;
+import {tools, $} from "../tools.js";
+import {checkBrowser} from "../bb.js";
+import {wm, initWindowManager} from "../wm.js";
-function main() {
+
+export function main() {
if (checkBrowser()) {
- wm = new WindowManager();
+ initWindowManager();
tools.setOnClick($("login-button"), __login);
$("user-input").onkeyup = $("passwd-input").onkeyup = function(event) {