mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-10 09:07:45 +01: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
|
//hide report button and text for it
|
||||||
let downvoteButton = document.getElementById("sponsorTimesDownvoteButtonsContainer" + this.UUID);
|
let downvoteButton = document.getElementById("sponsorTimesDownvoteButtonsContainer" + this.UUID);
|
||||||
if (downvoteButton != null) {
|
if (downvoteButton != null) {
|
||||||
document.getElementById("sponsorTimesDownvoteButtonsContainer" + this.UUID).style.display = "none";
|
downvoteButton.style.display = "none";
|
||||||
}
|
}
|
||||||
let downvoteButtonText = document.getElementById("sponsorTimesReportText" + this.UUID);
|
let downvoteButtonText = document.getElementById("sponsorTimesReportText" + this.UUID);
|
||||||
if (downvoteButtonText != null) {
|
if (downvoteButtonText != null) {
|
||||||
document.getElementById("sponsorTimesDownvoteButtonsContainer" + this.UUID).style.display = "none";
|
downvoteButtonText.style.display = "none";
|
||||||
}
|
}
|
||||||
|
|
||||||
//add info
|
//add info
|
||||||
|
|
Loading…
Reference in a new issue