diff --git a/SB.js b/SB.js index 69f95d31..4b7f9330 100644 --- a/SB.js +++ b/SB.js @@ -65,7 +65,10 @@ class MapIO { } clear(key) { - return this.map.clear(); + this.map.clear(); + chrome.storage.sync.set({ + [this.id]: encodeStoredItem(this.map) + }); } }