mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-09 21:17:20 +03:00
Don't hide chevron if segments are null
This commit is contained in:
@@ -314,7 +314,7 @@ class PreviewBar {
|
|||||||
if (chapterChevron) {
|
if (chapterChevron) {
|
||||||
if (this.segments.some((segment) => segment.source === SponsorSourceType.YouTube)) {
|
if (this.segments.some((segment) => segment.source === SponsorSourceType.YouTube)) {
|
||||||
chapterChevron.style.removeProperty("display");
|
chapterChevron.style.removeProperty("display");
|
||||||
} else {
|
} else if (this.segments) {
|
||||||
chapterChevron.style.display = "none";
|
chapterChevron.style.display = "none";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user