mirror of
https://github.com/Brandon-Rozek/website.git
synced 2024-10-30 01:12:07 -04:00
Call listPages on page load
This commit is contained in:
parent
77831a1df6
commit
251e3355de
1 changed files with 4 additions and 0 deletions
|
@ -81,6 +81,10 @@ async function listPages() {
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
document.addEventListener("DOMContentLoaded", (event) => {
|
||||||
|
listPages()
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{{< /unsafe >}}
|
{{< /unsafe >}}
|
Loading…
Reference in a new issue