Fix watched indicators and "More" button not appearing on card overlays (closes #23)

This commit is contained in:
HighImKevin committed 2025-11-21 06:52:16 -05:00
1 parent 8b0436a73e
commit b65144e09f
2 files changed
+33 -2

No files matched your search

+7 -2
View File
@@ -6852,8 +6852,13 @@ In the Custom Tabs plugin, add a new tab with the following HTML content:
}
}
// Add the watchlist button to the button container
buttonContainer.appendChild(watchlistButton);
// Add the watchlist button to the button container, right before the play state button if it exists
const playStateButton = buttonContainer.querySelector('button[is="emby-playstatebutton"]');
if (playStateButton) {
buttonContainer.insertBefore(watchlistButton, playStateButton);
} else {
buttonContainer.appendChild(watchlistButton);
}
}
// Function to process all existing overlay containers