From 1c7cde2a19b3605c4f4a668dd806f66f1f28eb5b Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Sun, 23 Feb 2020 11:20:21 -0500 Subject: [PATCH] Changed to !== --- src/popup.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/popup.ts b/src/popup.ts index 7d10fb10..3503167e 100644 --- a/src/popup.ts +++ b/src/popup.ts @@ -157,7 +157,7 @@ async function runThePopup(messageListener?: MessageListener) { //get the amount of times this user has contributed and display it to thank them if (Config.config.sponsorTimesContributed != undefined) { - if (Config.config.sponsorTimesContributed != 1) { + if (Config.config.sponsorTimesContributed !== 1) { PageElements.sponsorTimesContributionsDisplayEndWord.innerText = chrome.i18n.getMessage("Sponsors"); } else { PageElements.sponsorTimesContributionsDisplayEndWord.innerText = chrome.i18n.getMessage("Sponsor");