mirror of
https://github.com/Brandon-Rozek/website.git
synced 2025-10-09 14:31:13 +00:00
Service worker update
This commit is contained in:
parent
251e3355de
commit
3161801ca5
2 changed files with 4 additions and 2 deletions
|
@ -83,7 +83,9 @@ async function listPages() {
|
|||
}
|
||||
|
||||
document.addEventListener("DOMContentLoaded", (event) => {
|
||||
listPages()
|
||||
if (navigator && navigator.serviceWorker) {
|
||||
listPages()
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue