Merge pull request #2401 from cmgustavo/bug/chrome-app-remove

ACK
This commit is contained in:
Matias Pando 2015-02-09 11:52:20 -03:00
commit 73c2155cb3
4 changed files with 3 additions and 4 deletions

View file

@ -20,7 +20,7 @@ angular.element(document).ready(function() {
document.addEventListener('resume', function() {
setTimeout(function() {
window.ignoreMobilePause = false;
}, 100);
}, 100);
}, false);
document.addEventListener('backbutton', function() {

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