Skip to content
Snippets Groups Projects
Commit 2e3b608c authored by Haoyu Sun's avatar Haoyu Sun
Browse files

fix bugs

parent 496bd9b3
No related branches found
No related tags found
No related merge requests found
...@@ -19,7 +19,7 @@ function loadNavbar(targetElementId) { ...@@ -19,7 +19,7 @@ function loadNavbar(targetElementId) {
document.getElementById(targetElementId).innerHTML = data; document.getElementById(targetElementId).innerHTML = data;
// After the navbar is loaded, check and update user authentication state // After the navbar is loaded, check and update user authentication state
updateAuthButtons(); // updateAuthButtons();
}) })
.catch(error => { .catch(error => {
console.error('loadNav errors:', error); console.error('loadNav errors:', error);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment