Fixes call to remove element from localstorage
This commit is contained in:
parent
622338ce87
commit
ed08986545
3 changed files with 3 additions and 3 deletions
|
|
@ -72,7 +72,7 @@ LocalStorage.prototype.setItem = function(k, v, cb) {
|
|||
|
||||
LocalStorage.prototype.removeItem = function(k, cb) {
|
||||
if (isChromeApp) {
|
||||
chrome.storage.remove(k, cb);
|
||||
chrome.storage.local.remove(k, cb);
|
||||
} else {
|
||||
this.ls.removeItem(k);
|
||||
return cb();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue