Skip to content
Snippets Groups Projects
Commit 8d4ba6dd authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

Fix JS syntax

parent 6cef961f
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment