mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 19:14:52 +01:00
avoid dynamic import as ff doesn't support it yet
This commit is contained in:
parent
ffd3d740c5
commit
2a4d687160
10
index.html
10
index.html
@ -6,12 +6,14 @@
|
||||
<body>
|
||||
<p id="syncstatus"></p>
|
||||
<div><button id="stopsync">stop syncing</button></div>
|
||||
<script>
|
||||
<script type="module">
|
||||
import main from "./src/main.js";
|
||||
const label = document.getElementById("syncstatus");
|
||||
const button = document.getElementById("stopsync");
|
||||
import("./src/main.js").then(main => {
|
||||
main.default(label, button);
|
||||
});
|
||||
|
||||
//import("./src/main.js").then(main => {
|
||||
main(label, button);
|
||||
//});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user