summaryrefslogtreecommitdiff
path: root/web/login
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-07-13 06:38:55 +0300
committerDevaev Maxim <[email protected]>2019-07-13 06:38:55 +0300
commit98468bfa3069e76862be8e0a19bbe8e3fc6748fa (patch)
tree8a2cf0083532b2d7058b194410bd32386a7f07d3 /web/login
parentad97aecaf4d043c59d018310b4d8f4852d30b6e0 (diff)
using js modules
Diffstat (limited to 'web/login')
-rw-r--r--web/login/index.html10
1 files changed, 4 insertions, 6 deletions
diff --git a/web/login/index.html b/web/login/index.html
index 248f877c..d5394c9d 100644
--- a/web/login/index.html
+++ b/web/login/index.html
@@ -40,12 +40,10 @@
<link rel="stylesheet" href="../share/css/modals.css">
<link rel="stylesheet" href="../share/css/login/login.css">
- <script src="../share/js/bb.js"></script>
- <script src="../share/js/tools.js"></script>
- <script src="../share/js/wm.js"></script>
- <script src="../share/js/login/main.js"></script>
-
- <script>window.onload = main;</script>
+ <script type="module">
+ import {main} from "/share/js/login/main.js";
+ main();
+ </script>
</head>
<body>