From 8d4ba6dd554b6df4c1c95a7e5a655a3360e1847a Mon Sep 17 00:00:00 2001 From: blavenie <benoit.lavenier@e-is.pro> Date: Mon, 4 Jul 2016 17:11:45 +0200 Subject: [PATCH] Fix JS syntax --- www/js/controllers/transfer-controllers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/js/controllers/transfer-controllers.js b/www/js/controllers/transfer-controllers.js index 041787b2..8dd040b3 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) -- GitLab