diff --git a/content/offline.md b/content/offline.md index 2cbab91..30f833b 100644 --- a/content/offline.md +++ b/content/offline.md @@ -81,6 +81,10 @@ async function listPages() { return result; } + +document.addEventListener("DOMContentLoaded", (event) => { + listPages() +}); {{< /unsafe >}} \ No newline at end of file