diff --git a/frontend/static/js/challenge.js b/frontend/static/js/challenge.js index 5bc47192..3c7d1143 100644 --- a/frontend/static/js/challenge.js +++ b/frontend/static/js/challenge.js @@ -155,7 +155,7 @@ angular.module("FICApp", ["ngRoute", "ngSanitize"]) $rootScope.issues_nb_responses += issue.texts.length; if (issue.state == 'need-info') $rootScope.issues_need_info++; }) - }); + }, function(error) {}); } var refreshThemesInterval @@ -812,7 +812,7 @@ angular.module("FICApp", ["ngRoute", "ngSanitize"]) $scope.$watch("my", function(my){ if (my) - $location.url("."); + $location.url("/"); }); }) .controller("TagController", function($scope, $rootScope, $routeParams, $location) {