From c2af79c996161952b4e616df1df451acc2883bd5 Mon Sep 17 00:00:00 2001 From: Deathamns Date: Sat, 20 Dec 2014 11:26:05 +0100 Subject: [PATCH] Firefox: saved prefs were overwritten by defaults --- platform/firefox/vapi-background.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/firefox/vapi-background.js b/platform/firefox/vapi-background.js index e59fdab..fcd0708 100644 --- a/platform/firefox/vapi-background.js +++ b/platform/firefox/vapi-background.js @@ -175,7 +175,7 @@ vAPI.storage = { if (defaults) { for (key in details) { - if (!result[key]) { + if (result[key] === undefined) { result[key] = details[key]; } }