From 9d672fd3ed3d8ca503365ca0092a3f3a0ebebb38 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Fri, 25 Mar 2022 09:37:30 -0400 Subject: [PATCH] Revert faulty lines in 6fcc278c59f2921ae668528253d1bf5fa52697c8 Related issue: - https://github.com/uBlockOrigin/uBlock-issues/issues/2066 --- src/js/assets.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/js/assets.js b/src/js/assets.js index b8fd7cb5c..576dc1ded 100644 --- a/src/js/assets.js +++ b/src/js/assets.js @@ -376,11 +376,6 @@ const getAssetSourceRegistry = function() { const registerAssetSource = function(assetKey, dict) { const entry = assetSourceRegistry[assetKey] || {}; - // https://github.com/uBlockOrigin/uBlock-issues/issues/2056 - // An existing list may become enabled by default - if ( dict.off === undefined && entry.off === true ) { - delete entry.off; - } for ( const prop in dict ) { if ( dict.hasOwnProperty(prop) === false ) { continue; } if ( dict[prop] === undefined ) {