mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-03 17:49:39 +02:00
Revert faulty lines in 6fcc278c59
Related issue: - https://github.com/uBlockOrigin/uBlock-issues/issues/2066
This commit is contained in:
parent
c955c2b974
commit
9d672fd3ed
@ -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 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user