This commit is contained in:
gorhill 2015-08-31 18:43:40 -04:00
parent 8adf1c4616
commit 05ce6711e8
1 changed files with 5 additions and 1 deletions

View File

@ -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;