1
0
Fork 0
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:
Deathamns 2014-12-20 11:26:05 +01:00 committed by gorhill
parent 6b4a9a1962
commit c2af79c996

View file

@ -175,7 +175,7 @@ vAPI.storage = {
if (defaults) {
for (key in details) {
if (!result[key]) {
if (result[key] === undefined) {
result[key] = details[key];
}
}