diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/js/storage.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/js/storage.js b/src/js/storage.js index c060849..6d2eeda 100644 --- a/src/js/storage.js +++ b/src/js/storage.js @@ -927,7 +927,11 @@ } } newListKey = this.oldListToNewListMap[oldListKey]; - if ( newListKey !== '' ) { + // https://github.com/gorhill/uBlock/issues/668 + // https://github.com/gorhill/uBlock/issues/669 + // Beware: an entry for the new list key may already exists. If it is + // the case, leave it as is. + if ( newListKey !== '' && filterLists.hasOwnProperty(newListKey) === false ) { listEntry = filterLists[listKey]; listEntry.homeURL = undefined; filterLists[newListKey] = listEntry; |