Added language support to setUsername. Fixed error messages not appearing. Reset error messages properly.

Resolves https://github.com/ajayyy/SponsorBlock/issues/111
This commit is contained in:
Ajay Ramachandran
2019-08-19 20:17:32 -04:00
parent 279e49a143
commit b1393a563f
4 changed files with 28 additions and 11 deletions

View File

@@ -978,7 +978,6 @@ function sendSubmitMessage(){
//request the sponsors from the server again
sponsorsLookup(currentVideoID);
} else {
//for a more detailed error message, they should check the popup
//show that the upload failed
document.getElementById("submitButton").style.animation = "unset";
document.getElementById("submitButtonImage").src = chrome.extension.getURL("icons/PlayerUploadFailedIconSponsorBlocker256px.png");