From ed08986545d48197b7250b5e198734dc9c28a006 Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Fri, 6 Feb 2015 10:52:54 -0300 Subject: [PATCH] Fixes call to remove element from localstorage --- js/init.js | 2 +- js/plugins/LocalStorage.js | 2 +- views/copayers.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/js/init.js b/js/init.js index b64bef7db..eb8fabd7a 100644 --- a/js/init.js +++ b/js/init.js @@ -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() { diff --git a/js/plugins/LocalStorage.js b/js/plugins/LocalStorage.js index c1793c1b9..3a7f5d82d 100644 --- a/js/plugins/LocalStorage.js +++ b/js/plugins/LocalStorage.js @@ -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(); diff --git a/views/copayers.html b/views/copayers.html index d499f210d..9db8b65b8 100644 --- a/views/copayers.html +++ b/views/copayers.html @@ -65,7 +65,7 @@ ng-click="confirmDelete=!confirmDelete">No
-