diff --git a/public/js/controllers/articles.js b/public/js/controllers/articles.js index b41fc5a111..49e4d53b2e 100644 --- a/public/js/controllers/articles.js +++ b/public/js/controllers/articles.js @@ -16,7 +16,7 @@ function ArticlesController($scope, $routeParams, $location, Global, Articles) { for (var i in $scope.articles) { if ($scope.articles[i] == article) { - $scope.articles.splice(i, 1) + $scope.articles.splice(i, 1); } } };