Compare commits
2 Commits
460f38a74d
...
6493ca7be7
Author | SHA1 | Date | |
---|---|---|---|
6493ca7be7 | |||
38c0269665 |
@@ -144,6 +144,7 @@ function logout() {
|
||||
});
|
||||
}
|
||||
|
||||
function initAjax() {
|
||||
let links = document.querySelectorAll('.navsite_link, .navpage_link');
|
||||
|
||||
// Add click event listener to each link
|
||||
@@ -162,4 +163,5 @@ links.forEach(function(link) {
|
||||
// You can use this information to update the URL or perform other actions
|
||||
});
|
||||
});
|
||||
|
||||
}
|
||||
document.addEventListener('DOMContentLoaded', initAjax);
|
||||
|
Reference in New Issue
Block a user