Fixes call to remove element from localstorage

This commit is contained in:
Gustavo Maximiliano Cortez 2015-02-06 10:52:54 -03:00
commit ed08986545
3 changed files with 3 additions and 3 deletions

View file

@ -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();