mirror of https://github.com/BTCPrivate/copay.git
Fixes call to remove element from localstorage
This commit is contained in:
parent
622338ce87
commit
ed08986545
|
@ -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();
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
ng-click="confirmDelete=!confirmDelete">No</button>
|
||||
</div>
|
||||
<div class="large-6 medium-6 small-6 columns">
|
||||
<button class="warning" ng-disabled="loading" ng-click="deleteWallet()">
|
||||
<button class="warning" ng-disabled="loading" ng-click="deleteWallet(); confirmDelete = !confirmDelete">
|
||||
<i class="fi-trash"></i> Yes
|
||||
</button>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue