Version 1.9.1

- Fixed badged in quiet mode
This commit is contained in:
Kevin Röbert
2019-10-24 20:13:38 +02:00
parent 902605f8ee
commit 92d582b8d2
3 changed files with 13 additions and 6 deletions

View File

@@ -78,8 +78,7 @@ function removeFieldsFormURL(provider, pureUrl, quiet = false)
checkOSAndroid().then((res) => {
if(!res) {
if(storage.badgedStatus) {
if(storage.badgedStatus && !quiet) {
browser.browserAction.setBadgeText({text: (++badges[tabid]).toString(), tabId: tabid});
}
else
@@ -159,8 +158,7 @@ function removeFieldsFormURL(provider, pureUrl, quiet = false)
checkOSAndroid().then((res) => {
if(!res) {
if(storage.badgedStatus) {
if(storage.badgedStatus && !quiet) {
browser.browserAction.setBadgeText({text: (++badges[tabid]).toString(), tabId: tabid});
}
else
@@ -193,7 +191,7 @@ function removeFieldsFormURL(provider, pureUrl, quiet = false)
checkOSAndroid().then((res) => {
if(!res) {
if(storage.badgedStatus) {
if(storage.badgedStatus && !quiet) {
browser.browserAction.setBadgeText({text: (++badges[tabid]).toString(), tabId: tabid});
}
else