mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-06-13 15:54:54 +12:00
Firefox: saved prefs were overwritten by defaults
This commit is contained in:
parent
6b4a9a1962
commit
c2af79c996
|
@ -175,7 +175,7 @@ vAPI.storage = {
|
|||
|
||||
if (defaults) {
|
||||
for (key in details) {
|
||||
if (!result[key]) {
|
||||
if (result[key] === undefined) {
|
||||
result[key] = details[key];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue