actually call the function i just added

This commit is contained in:
hippoz 2020-10-25 16:23:23 +02:00
parent e869b8a104
commit 063fadc7c1

View file

@ -90,10 +90,10 @@ const updateFromCurrentPathname = () => {
} }
A(() => { A(() => {
A('#content-container').load('/pages/home.html');
A('.navigation-buttons .button-default').each((el) => { A('.navigation-buttons .button-default').each((el) => {
A(el).on('click', () => { A(el).on('click', () => {
onButtonClick(el.id); onButtonClick(el.id);
}); });
}) });
updateFromCurrentPathname();
}); });