mirror of
https://github.com/ranaldsgift/KefinTweaks.git
synced 2026-11-05 15:52:47 +01:00
Small fix for Episodes of Series page
This commit is contained in:
1 parent
0c7d64dab4
commit
f65c79cbd9
1 file changed
+3
-2
@@ -715,7 +715,8 @@
|
||||
* Processes a series page to add episodes section
|
||||
* @param {string} seriesId - The series ID
|
||||
*/
|
||||
async function processSeriesPage(seriesId) {
|
||||
async function processSeriesPage(series) {
|
||||
const seriesId = series.Id;
|
||||
const activePage = document.querySelector('.libraryPage:not(.hide)');
|
||||
if (!activePage) {
|
||||
WARN('Active page not found');
|
||||
@@ -859,7 +860,7 @@
|
||||
|
||||
// Small delay to ensure page is ready
|
||||
setTimeout(async () => {
|
||||
await processSeriesPage(item.Id);
|
||||
await processSeriesPage(item);
|
||||
}, 100);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user