mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-09-20 04:53:43 +02:00
Fix votes appearing for unsubmitted segments
This commit is contained in:
parent
4c568212ac
commit
3316072f5d
2 changed files with 5 additions and 0 deletions
|
@ -126,6 +126,10 @@ div:hover > .sponsorBlockChapterBar {
|
|||
vertical-align: top;
|
||||
}
|
||||
|
||||
.playerButton.hidden {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Removes auto width from being a ytp-player-button */
|
||||
.sbPlayerDownvote {
|
||||
width: auto !important;
|
||||
|
|
|
@ -37,6 +37,7 @@ export class ChapterVote {
|
|||
setVisibility(show: boolean): void {
|
||||
const newState = {
|
||||
show,
|
||||
...(!show ? { segment: null } : {})
|
||||
};
|
||||
|
||||
if (this.ref.current) {
|
||||
|
|
Loading…
Reference in a new issue