Firefox: saved prefs were overwritten by defaults

pull/2/head
Deathamns 10 years ago committed by gorhill
parent 6b4a9a1962
commit c2af79c996

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

Loading…
Cancel
Save