🤓
This commit is contained in:
parent
85787760b9
commit
982130a02f
@ -84,7 +84,7 @@ const router = async (uri) => {
|
|||||||
return 0;
|
return 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
window.addEventListener("popstate", function() {router(this.location.pathname)});
|
window.addEventListener("popstate", function() {router(location.pathname)});
|
||||||
|
|
||||||
document.addEventListener("DOMContentLoaded", () => {
|
document.addEventListener("DOMContentLoaded", () => {
|
||||||
document.body.addEventListener("click", e => {
|
document.body.addEventListener("click", e => {
|
||||||
|
Loading…
Reference in New Issue
Block a user