1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-14 23:12:28 +02:00

Fixed wrong method for number of elements in a Map (#3755)

This commit is contained in:
Noelle Leigh 2019-04-06 15:42:24 -04:00 committed by Raymond Hill
parent 1cd781796e
commit 0bb7b76338

View File

@ -2271,7 +2271,7 @@ FilterContainer.prototype.fromCompiledContent = function(reader) {
/******************************************************************************/
FilterContainer.prototype.matchAndFetchData = function(dataType, requestURL, out, outlog) {
if ( this.dataFilters.length === 0 ) { return; }
if ( this.dataFilters.size === 0 ) { return; }
let url = this.urlTokenizer.setURL(requestURL);