diff --git a/templates/js/controllers/profileController.js b/templates/js/controllers/profileController.js index 8c5f872..80bfa6a 100644 --- a/templates/js/controllers/profileController.js +++ b/templates/js/controllers/profileController.js @@ -91,9 +91,7 @@ angular.module('SeHub') [28, 48, 40, 3] ]; - $scope.isUser = function() { - return $scope.$parent.user.id.toString() /*The Actual User*/ === $routeParams.id /*The Profile User*/; - } + $scope.isUser = $scope.$parent.user.id.toString() /*The Actual User*/ === $routeParams.id /*The Profile User*/; } ]); \ No newline at end of file diff --git a/templates/views/profile.html b/templates/views/profile.html index 986f1d9..d9083ac 100644 --- a/templates/views/profile.html +++ b/templates/views/profile.html @@ -17,7 +17,7 @@