mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-09-20 04:53:43 +02:00
Made report text disappear after voting.
This commit is contained in:
parent
175cf62201
commit
0c2c868e5c
1 changed files with 2 additions and 2 deletions
|
@ -206,11 +206,11 @@ class SkipNotice {
|
|||
//hide report button and text for it
|
||||
let downvoteButton = document.getElementById("sponsorTimesDownvoteButtonsContainer" + this.UUID);
|
||||
if (downvoteButton != null) {
|
||||
document.getElementById("sponsorTimesDownvoteButtonsContainer" + this.UUID).style.display = "none";
|
||||
downvoteButton.style.display = "none";
|
||||
}
|
||||
let downvoteButtonText = document.getElementById("sponsorTimesReportText" + this.UUID);
|
||||
if (downvoteButtonText != null) {
|
||||
document.getElementById("sponsorTimesDownvoteButtonsContainer" + this.UUID).style.display = "none";
|
||||
downvoteButtonText.style.display = "none";
|
||||
}
|
||||
|
||||
//add info
|
||||
|
|
Loading…
Reference in a new issue