This commit is contained in:
starnakin 2023-12-11 15:59:15 +01:00
parent 85787760b9
commit 982130a02f

View File

@ -84,7 +84,7 @@ const router = async (uri) => {
return 0;
};
window.addEventListener("popstate", function() {router(this.location.pathname)});
window.addEventListener("popstate", function() {router(location.pathname)});
document.addEventListener("DOMContentLoaded", () => {
document.body.addEventListener("click", e => {