diff --git a/www/js/controllers/transfer-controllers.js b/www/js/controllers/transfer-controllers.js index 041787b2e468732a268afa474f54b324b3525e1a..8dd040b330397e8daa6279e9bc3ef5488a7662c1 100644 --- a/www/js/controllers/transfer-controllers.js +++ b/www/js/controllers/transfer-controllers.js @@ -254,7 +254,7 @@ function TransferModalController($scope, $rootScope, $ionicModal, $state, BMA, W to: $scope.destUid ? $scope.destUid : $scope.destPub, amount: $scope.formData.amount, unit: $scope.formData.useRelative ? translations['COMMON.UD'] : $filter('abbreviate')($scope.walletData.parameters.currency), - comment: (!$scope.formData.comment || $scope.formData.comment.trim().length == 0) ? translations['COMMON.EMPTY_PARENTHESIS'] : $scope.formData.comment + comment: (!$scope.formData.comment || $scope.formData.comment.trim().length === 0) ? translations['COMMON.EMPTY_PARENTHESIS'] : $scope.formData.comment }) .then(function(confirmMsg) { UIUtils.alert.confirm(confirmMsg)