Index: chrome/ext/background.js |
=================================================================== |
--- a/chrome/ext/background.js |
+++ b/chrome/ext/background.js |
@@ -542,10 +542,8 @@ |
{ |
chrome.storage.local.get(keys, callback); |
}, |
- set: function(key, value, callback) |
+ set: function(items, callback) |
{ |
- let items = {}; |
- items[key] = value; |
chrome.storage.local.set(items, callback); |
}, |
remove: function(key, callback) |