From 94d62f5302b75d26f09e8dbf5463c7190c4b0b7b Mon Sep 17 00:00:00 2001 From: kkapsner Date: Mon, 4 Dec 2017 00:32:19 +0100 Subject: [PATCH] Background script never sends settings --- lib/frame.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/frame.js b/lib/frame.js index 6eadb05..a097fbd 100644 --- a/lib/frame.js +++ b/lib/frame.js @@ -64,13 +64,6 @@ persistentRnd.setDomainRnd(domain, data.persistentRnd[domain]); }); } - if (settings.isStillDefault && data.hasOwnProperty("settings")){ - notice("got settings from background script"); - Object.keys(data.settings).forEach(function(key){ - settings[key] = data.settings[key]; - }); - settings.isStillDefault = false; - } }); var notifications = []; function notify(data){