From 982130a02fdb6fc551663919d98eb0d11ccee457 Mon Sep 17 00:00:00 2001 From: starnakin Date: Mon, 11 Dec 2023 15:59:15 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/static/js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/static/js/index.js b/frontend/static/js/index.js index 9501016..b647ca4 100644 --- a/frontend/static/js/index.js +++ b/frontend/static/js/index.js @@ -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 => {