1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-26 12:22:50 +01:00
This commit is contained in:
gorhill 2015-03-02 11:01:21 -05:00
parent 09740463a7
commit aaddab2023
2 changed files with 2 additions and 2 deletions

View File

@ -1199,7 +1199,7 @@ FilterContainer.prototype.retrieveDomainSelectors = function(request) {
/******************************************************************************/
FilterContainer.prototype.getFilterCount = function() {
return this.acceptedCount;
return this.acceptedCount - this.duplicateCount;
};
/******************************************************************************/

View File

@ -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);
}
};