mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-07 03:12:33 +01:00
this fixes #916
This commit is contained in:
parent
09740463a7
commit
aaddab2023
@ -1199,7 +1199,7 @@ FilterContainer.prototype.retrieveDomainSelectors = function(request) {
|
||||
/******************************************************************************/
|
||||
|
||||
FilterContainer.prototype.getFilterCount = function() {
|
||||
return this.acceptedCount;
|
||||
return this.acceptedCount - this.duplicateCount;
|
||||
};
|
||||
|
||||
/******************************************************************************/
|
||||
|
@ -288,7 +288,7 @@
|
||||
if ( µb.remoteBlacklists.hasOwnProperty(path) ) {
|
||||
var entry = µb.remoteBlacklists[path];
|
||||
entry.entryCount = snfe.acceptedCount + cfe.acceptedCount - acceptedCount;
|
||||
entry.entryUsedCount = entry.entryCount - snfe.duplicateCount - cfe.duplicateCount + duplicateCount;
|
||||
entry.entryUsedCount = entry.entryCount - (snfe.duplicateCount + cfe.duplicateCount - duplicateCount);
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user