Fix the loading image persisting. Closes #863

This commit is contained in:
Gabe Kangas
2021-03-27 20:47:59 -07:00
parent 9a65d7c43f
commit be612de2ed

View File

@@ -73,7 +73,9 @@
<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">
<img id="loading-logo" src="/logo"> <div id="loading-logo-container">
<img id="loading-logo" src="/logo">
</div>
</div> </div>
<script type="module"> <script type="module">
@@ -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>