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