From 063fadc7c137530e69430e792999111d0efad2e2 Mon Sep 17 00:00:00 2001 From: hippoz Date: Sun, 25 Oct 2020 16:23:23 +0200 Subject: [PATCH] actually call the function i just added --- res/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/res/index.js b/res/index.js index 9ffe0b9..33d184c 100644 --- a/res/index.js +++ b/res/index.js @@ -90,10 +90,10 @@ const updateFromCurrentPathname = () => { } A(() => { - A('#content-container').load('/pages/home.html'); A('.navigation-buttons .button-default').each((el) => { A(el).on('click', () => { onButtonClick(el.id); }); - }) + }); + updateFromCurrentPathname(); }); \ No newline at end of file