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

[fix] Fix JS comment

parent d59c822b
No related branches found
No related tags found
No related merge requests found
...@@ -112,7 +112,7 @@ function ESLikesController($scope, $q, $timeout, $translate, $ionicPopup, UIUtil ...@@ -112,7 +112,7 @@ function ESLikesController($scope, $q, $timeout, $translate, $ionicPopup, UIUtil
$scope.initLikes(); $scope.initLikes();
if (!$scope.likeData.id) throw new Error("Missing 'likeData.id' in scope. Cannot apply toggle"); if (!$scope.likeData.id) throw new Error("Missing 'likeData.id' in scope. Cannot apply toggle");
// Make sure tobe auth before continue // Make sure to be auth before continue
if (!csWallet.isLogin()) { if (!csWallet.isLogin()) {
return csWallet.auth({minData: true}) return csWallet.auth({minData: true})
.then(function(data){ .then(function(data){
...@@ -242,7 +242,7 @@ function ESLikesController($scope, $q, $timeout, $translate, $ionicPopup, UIUtil ...@@ -242,7 +242,7 @@ function ESLikesController($scope, $q, $timeout, $translate, $ionicPopup, UIUtil
$scope.reportAbuse = function(event, options) { $scope.reportAbuse = function(event, options) {
// Make sure tobe auth before continue // Make sure to be auth before continue
if (!csWallet.isLogin()) { if (!csWallet.isLogin()) {
return csWallet.auth({minData: true}) return csWallet.auth({minData: true})
.then(function(data){ .then(function(data){
......
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