Skip to content

Commit 3cd14ee

Browse files
committed
Fix: volledige index.html
1 parent 665c2d5 commit 3cd14ee

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

index.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,4 +291,11 @@ <h1 id="titel">Training</h1>
291291
function boot(){
292292
if(!cfg()){ document.getElementById('app').style.display='none';
293293
document.getElementById('setup').style.display='block'; return }
294-
refresh().then(()=>{ if(state.schema){ state.dagIdx=vandaagIdx(); ren
294+
refresh().then(()=>{ if(state.schema){ state.dagIdx=vandaagIdx(); render(); } });
295+
}
296+
boot();
297+
window.addEventListener('online', flushQueue);
298+
if('serviceWorker' in navigator) navigator.serviceWorker.register('sw.js').catch(()=>{});
299+
</script>
300+
</body>
301+
</html>

0 commit comments

Comments
 (0)