mirror of
https://github.com/ranaldsgift/KefinTweaks.git
synced 2026-11-05 15:52:47 +01:00
Fix duplicate Season info appearing on the season page
This commit is contained in:
1 parent
813581c5d5
commit
0d4d16257b
1 file changed
+3
-1
@@ -338,11 +338,13 @@
|
||||
}
|
||||
|
||||
// Check if already added
|
||||
if (miscInfoContainer.querySelector('.kt-season-info')) {
|
||||
if (miscInfoContainer.dataset.seasonInfo) {
|
||||
LOG('Season info already added, skipping');
|
||||
return;
|
||||
}
|
||||
|
||||
miscInfoContainer.dataset.seasonInfo = 'true';
|
||||
|
||||
const infoContainer = document.createElement('div');
|
||||
infoContainer.className = 'kt-season-info';
|
||||
infoContainer.style.display = 'flex';
|
||||
|
||||
Reference in new issue
Block a user