- Updated Squids in Background to use official animation from Nintendo. Has been modified to work better with modern browsers. - Moved every redundant function when loading each page into a seperate JS file - More fixes regarding to login - Bug Fixes
14 lines
No EOL
409 B
JavaScript
14 lines
No EOL
409 B
JavaScript
fetch("../header.html")
|
|
.then(res => res.text())
|
|
.then(html => {
|
|
const headerContainer = document.getElementById("header-container");
|
|
headerContainer.innerHTML = html;
|
|
|
|
const friendButton = headerContainer.querySelector('.menu-item.equipment');
|
|
if (friendButton) {
|
|
friendButton.classList.add('active');
|
|
}
|
|
|
|
// temporaily force hide lol
|
|
document.getElementById("loading-overlay").style.display = "none";
|
|
}); |