remove description by entering blank text

This commit is contained in:
Gabriel Bazán 2016-10-11 15:46:02 -03:00
commit fc735cd4e2

View file

@ -116,7 +116,7 @@ angular.module('copayApp.controllers').controller('confirmController', function(
};
popupService.showPrompt(null, message, opts, function(res) {
if (res) $scope.description = res;
if (typeof res != 'undefined') $scope.description = res;
$timeout(function() {
$scope.$apply();
}, 100);