diff --git a/SB.js b/SB.js index 4b7f9330..37fcbea9 100644 --- a/SB.js +++ b/SB.js @@ -38,6 +38,9 @@ class MapIO { } deleteProperty(key) { + if(key === undefined) { + return chrome.storage.sync.remove(this.id); + } if (this.map.has(key)) { // Proxy to map this.map.delete(key);