actually call the function i just added
This commit is contained in:
parent
e869b8a104
commit
063fadc7c1
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
});
|
Loading…
Reference in a new issue