1 parent
2fcb29e3fe
commit
97a5098511
23 files changed
+146
-57
No files matched your search
@@ -910,6 +910,12 @@ document.addEventListener("keydown", (e) => {
|
||||
|
||||
/* ---------- boot ---------- */
|
||||
|
||||
if ("serviceWorker" in navigator) {
|
||||
window.addEventListener("load", () => {
|
||||
navigator.serviceWorker.register("/sw.js").catch(() => {});
|
||||
});
|
||||
}
|
||||
|
||||
(async function boot() {
|
||||
await Promise.all([loadMeta(), loadMoods()]);
|
||||
await loadGames(true);
|
||||
|
||||
Reference in new issue
Block a user