Fix close modal after swipe right

This commit is contained in:
Gustavo Maximiliano Cortez 2015-12-04 17:04:13 -03:00
parent af2801df19
commit 2828d0ca60
No known key found for this signature in database
GPG Key ID: 15EDAD8D9F2EB1AF
1 changed files with 4 additions and 4 deletions

View File

@ -474,9 +474,9 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
self.copyAddress(addr);
};
$scope.cancel = function() {
$scope.cancel = lodash.debounce(function() {
$modalInstance.dismiss('cancel');
};
}, 0, 1000);
};
var modalInstance = $modal.open({
@ -1228,9 +1228,9 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
self.copyAddress(addr);
};
$scope.cancel = function() {
$scope.cancel = lodash.debounce(function() {
$modalInstance.dismiss('cancel');
};
}, 0, 1000);
};