feat: integrate watchlist as tab on /web page
This commit is contained in:
@@ -228,6 +228,9 @@ function switchTab(tabName) {
|
||||
} else if (tabType === 'providers' && tabName === 'providers') {
|
||||
// Static providers tab
|
||||
btn.classList.add('active');
|
||||
} else if (tabType === 'watchlist' && tabName === 'watchlist') {
|
||||
// Static watchlist tab
|
||||
btn.classList.add('active');
|
||||
} else if (tabType === 'anime' && btn.getAttribute('data-provider') === tabName.replace('anime-', '')) {
|
||||
btn.classList.add('active');
|
||||
} else if (tabType === 'series' && btn.getAttribute('data-provider') === tabName.replace('series-', '')) {
|
||||
|
||||
Reference in New Issue
Block a user