Set local config right away

This commit is contained in:
Ajay Ramachandran
2020-01-09 13:16:27 -05:00
parent 8fd671d4d3
commit 4ba82f6e00

2
SB.js
View File

@@ -89,6 +89,8 @@ function configProxy() {
var handler = {
set: function(obj, prop, value) {
SB.localconfig[prop] = value;
chrome.storage.sync.set({
[prop]: encodeStoredItem(value)
});