Merge pull request #236 from ajayyy/hotfix-invidious

Fixed new line issue
This commit is contained in:
Ajay Ramachandran 2020-01-11 14:55:34 -05:00 committed by GitHub
commit 7526abc3e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -827,8 +827,8 @@ function clearSponsorTimes() {
let sponsorTimes = SB.config.sponsorTimes.get(currentVideoID);
if (sponsorTimes != undefined && sponsorTimes.length > 0) {
let confirmMessage = chrome.i18n.getMessage("clearThis") + getSponsorTimesMessage(sponsorTimes);
confirmMessage += chrome.i18n.getMessage("confirmMSG")
let confirmMessage = chrome.i18n.getMessage("clearThis") + getSponsorTimesMessage(sponsorTimes)
+ "\n" + chrome.i18n.getMessage("confirmMSG")
if(!confirm(confirmMessage)) return;
//clear the sponsor times