mirror of https://github.com/gorhill/uBlock.git
Fix restore backup feature
Related issue: - https://github.com/uBlockOrigin/uBlock-issues/issues/1282
This commit is contained in:
parent
e2e51c4df6
commit
04b11b4311
|
@ -938,8 +938,8 @@ const restoreUserData = async function(request) {
|
|||
// Discard unknown setting or setting with default value.
|
||||
for ( const key in hiddenSettings ) {
|
||||
if (
|
||||
this.hiddenSettingsDefault.hasOwnProperty(key) === false ||
|
||||
hiddenSettings[key] === this.hiddenSettingsDefault[key]
|
||||
µb.hiddenSettingsDefault.hasOwnProperty(key) === false ||
|
||||
hiddenSettings[key] === µb.hiddenSettingsDefault[key]
|
||||
) {
|
||||
delete hiddenSettings[key];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue