Fix the loading image persisting. Closes #863
This commit is contained in:
@@ -73,8 +73,10 @@
|
|||||||
|
|
||||||
<body class="scrollbar-hidden bg-gray-300 text-gray-800">
|
<body class="scrollbar-hidden bg-gray-300 text-gray-800">
|
||||||
<div id="app">
|
<div id="app">
|
||||||
|
<div id="loading-logo-container">
|
||||||
<img id="loading-logo" src="/logo">
|
<img id="loading-logo" src="/logo">
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<script type="module">
|
<script type="module">
|
||||||
import { h, render } from '/js/web_modules/preact.js';
|
import { h, render } from '/js/web_modules/preact.js';
|
||||||
@@ -82,7 +84,7 @@
|
|||||||
const html = htm.bind(h);
|
const html = htm.bind(h);
|
||||||
|
|
||||||
import App from './js/app.js';
|
import App from './js/app.js';
|
||||||
render(html`<${App} />`, document.getElementById("app"));
|
render(html`<${App} />`, document.getElementById("app"), document.getElementById("loading-logo-container"));
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<noscript>
|
<noscript>
|
||||||
|
|||||||
Reference in New Issue
Block a user