We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08181c1 commit dabc63aCopy full SHA for dabc63a
src/js-components/previewBar.ts
@@ -218,6 +218,12 @@ class PreviewBar {
218
if (this.customChaptersBar) this.customChaptersBar.style.display = "none";
219
this.originalChapterBar?.style?.removeProperty("display");
220
this.chapterVote?.setVisibility(false);
221
+
222
+ document.querySelectorAll(`.sponsorBlockChapterBar`).forEach((e) => {
223
+ if (e !== this.customChaptersBar) {
224
+ e.remove();
225
+ }
226
+ });
227
}
228
229
set(segments: PreviewBarSegment[], videoDuration: number): void {
0 commit comments