mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-06-05 21:49:31 +02:00
Customizable badge as HTML filter indicator (#613)
This commit is contained in:
@@ -94,10 +94,10 @@ interceptor._handleMissingCandidate = function (requestUrl, tabIdentifier) {
|
||||
if (stateManager.changeBadgeColorMissingResources === true) {
|
||||
missingCount = stateManager.tabs[tabIdentifier].missing || 0;
|
||||
if (missingCount > 0 && injectionCount === 0) {
|
||||
wrappers.setBadgeMissing(tabIdentifier, injectionCount);
|
||||
wrappers.setBadgeText(tabIdentifier, injectionCount);
|
||||
}
|
||||
} else {
|
||||
wrappers.defaultBadge(tabIdentifier, injectionCount);
|
||||
wrappers.setBadgeText(tabIdentifier, injectionCount);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user