Made report text disappear after voting.

This commit is contained in:
Ajay Ramachandran 2019-08-19 16:13:18 -04:00
parent 175cf62201
commit 0c2c868e5c

View file

@ -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