Fix skip to highlight button on live update

This commit is contained in:
Ajay
2023-07-28 18:34:05 -04:00
parent 4069545603
commit 3ac170ad01

View File

@@ -1,6 +1,6 @@
export function cleanPage() { export function cleanPage() {
// For live-updates // For live-updates
for (const element of document.querySelectorAll("#categoryPillParent, .playerButton, .sponsorThumbnailLabel, #submissionNoticeContainer, .sponsorSkipNoticeContainer, #sponsorBlockPopupContainer")) { for (const element of document.querySelectorAll("#categoryPillParent, .playerButton, .sponsorThumbnailLabel, #submissionNoticeContainer, .sponsorSkipNoticeContainer, #sponsorBlockPopupContainer, .skipButtonControlBarContainer")) {
element.remove(); element.remove();
} }
} }