diff --git a/frontend/static/js/challenge.js b/frontend/static/js/challenge.js index 774e7101..ed197758 100644 --- a/frontend/static/js/challenge.js +++ b/frontend/static/js/challenge.js @@ -237,6 +237,7 @@ angular.module("FICApp", ["ngRoute", "ngSanitize"]) $http.get("/my.json").success(function(my) { if ($scope.my.exercices[$rootScope.current_exercice].solved_time != my.exercices[$rootScope.current_exercice].solved_time) { $rootScope.refresh(); + $scope.my = my; waitMy(); } else { $timeout.cancel($scope.cbd);