diff --git a/Websites/Youtube.js b/Websites/Youtube.js index 57a0a1b..e465973 100644 --- a/Websites/Youtube.js +++ b/Websites/Youtube.js @@ -219,7 +219,8 @@ function checkTopLevelButton(menu, { query, val } = {}) { return ( button.classList.contains("style-default-active") || - button.getAttribute("aria-pressed") == "true" + button.getAttribute("aria-pressed") == "true" || + !!button.querySelector("[aria-pressed='true']") ); } diff --git a/manifest.json b/manifest.json index 9a6ba2a..de73054 100644 --- a/manifest.json +++ b/manifest.json @@ -4,7 +4,7 @@ "name": "WebNowPlaying Companion - Personal Edit", "short_name": "WebNowPlayingPersonal", "description": "WebNowPlaying Companion with a variety of modifications, fixes, and updates. Especially a lot of feature improvements and optimizations for YouTube.", - "version": "1.0.6", + "version": "1.0.7", "browser_specific_settings": { "gecko": { "id": "WNPC@aminomancer",