From ab7d72f4429f86eb7a6086fc7084fc466c86a976 Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Mon, 16 Jan 2017 13:11:03 +0100 Subject: [PATCH] frontend: fix partial solved flags display --- frontend/static/js/challenge.js | 1 + 1 file changed, 1 insertion(+) 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);