1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-19 19:52:51 +02:00
This commit is contained in:
gorhill 2015-08-31 18:43:40 -04:00
parent 8adf1c4616
commit 05ce6711e8

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;