From 06b44c7cebd875d4b0c8b97a7eae30fb5178ff35 Mon Sep 17 00:00:00 2001 From: gorhill Date: Mon, 11 Jan 2016 01:12:56 -0500 Subject: [PATCH] this fixes #1206 --- platform/chromium/manifest.json | 2 +- platform/opera/manifest.json | 2 +- src/js/cosmetic-filtering.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/platform/chromium/manifest.json b/platform/chromium/manifest.json index b90d746be..5178890b4 100644 --- a/platform/chromium/manifest.json +++ b/platform/chromium/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "uBlock Origin", - "version": "1.5.4", + "version": "1.5.5", "default_locale": "en", "description": "__MSG_extShortDesc__", diff --git a/platform/opera/manifest.json b/platform/opera/manifest.json index 957a93f3f..5aa15694d 100644 --- a/platform/opera/manifest.json +++ b/platform/opera/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "uBlock Origin", - "version": "1.5.4", + "version": "1.5.5", "default_locale": "en", "description": "__MSG_extShortDesc__", diff --git a/src/js/cosmetic-filtering.js b/src/js/cosmetic-filtering.js index b56480c57..c8ef1765f 100644 --- a/src/js/cosmetic-filtering.js +++ b/src/js/cosmetic-filtering.js @@ -1455,8 +1455,8 @@ FilterContainer.prototype.retrieveDomainSelectors = function(request) { } // entity filter buckets are always plain js array - if ( (bucket = this.entityFilters[r.entity]) ) { - r.cosmeticHide = r.cosmeticHide.concat(bucket); + if ( this.entityFilters.hasOwnProperty(r.entity) ) { + r.cosmeticHide = r.cosmeticHide.concat(this.entityFilters[r.entity]); } // No entity exceptions as of now