From 0bb7b76338462d69d578f77f847f8e00ca559db2 Mon Sep 17 00:00:00 2001 From: Noelle Leigh Date: Sat, 6 Apr 2019 15:42:24 -0400 Subject: [PATCH] Fixed wrong method for number of elements in a Map (#3755) --- src/js/static-net-filtering.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/static-net-filtering.js b/src/js/static-net-filtering.js index db6361a30..261cc8621 100644 --- a/src/js/static-net-filtering.js +++ b/src/js/static-net-filtering.js @@ -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);