mirror of
https://github.com/ranaldsgift/KefinTweaks.git
synced 2026-11-05 15:52:47 +01:00
More improvements made to the Enhanced Home Screen: Improved Spotlight rendering and options, Rendering only in native Jellyfin container, batch rendering progressive sections
This commit is contained in:
@@ -260,7 +260,7 @@
|
||||
targetTabButton = await pollForElement(() => document.querySelector(`.headerTabs button[data-index="${currentTabIndex}"]`), 50, 100);
|
||||
}
|
||||
|
||||
if (targetTabButton.classList.contains('emby-tab-button-active')) {
|
||||
if (targetTabButton && targetTabButton.classList.contains('emby-tab-button-active')) {
|
||||
LOG('Target tab is already active');
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user