start fixing

This commit is contained in:
Arma-Damna-Dillo 2024-12-29 16:56:38 -06:00
parent 3a25d45159
commit 9224c79cb5
2 changed files with 6 additions and 0 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
node_modules/
.env

View file

@ -24,9 +24,13 @@ function switchTab(tabName) {
// Activate the selected tab and section
if (tabName === 'downloads') {
document.getElementById('libraryTab').classList.remove('active');
document.getElementById('librarySection').classList.remove('active');
document.getElementById('downloadsTab').classList.add('active');
document.getElementById('downloadsSection').classList.add('active');
} else if (tabName === 'library') {
document.getElementById('downloadsTab').classList.remove('active');
document.getElementById('downloadsSection').classList.remove('active');
document.getElementById('libraryTab').classList.add('active');
document.getElementById('librarySection').classList.add('active');
loadLibrary(); // Load the library when switching to this tab