commit | 17e3e704112d751e1a8bbf2030bf40c4cb558f98 | [log] [tgz] |
---|---|---|
author | avm99963 <jocdeladria@gmail.com> | Thu Mar 28 01:27:39 2019 +0100 |
committer | avm99963 <jocdeladria@gmail.com> | Thu Mar 28 01:27:39 2019 +0100 |
tree | d0dfbafa7a2fdb74b125c85a73302e230f733d0c | |
parent | cbea3140e9749de4995de755e5c3979f7d8f591b [diff] |
Version 1.0.1 (minor bug fix)
diff --git a/background.js b/background.js index 513d12e..a3aeae1 100644 --- a/background.js +++ b/background.js
@@ -4,10 +4,8 @@ chrome.runtime.onInstalled.addListener(function(details) { chrome.storage.sync.get(null, function(items) { - if (details.reason == "install") { - if (isEmpty(items)) { - chrome.storage.sync.set({"list": true, "thread": true}); - } + if (isEmpty(items)) { + chrome.storage.sync.set({"list": true, "thread": true}); } }); });