commit
73c2155cb3
4 changed files with 3 additions and 4 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
|
|
@ -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