start fixing
This commit is contained in:
parent
3a25d45159
commit
9224c79cb5
2 changed files with 6 additions and 0 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
node_modules/
|
||||
.env
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue