frontend: fix partial solved flags display

This commit is contained in:
nemunaire 2017-01-16 13:11:03 +01:00
parent b1c4ebfe45
commit 8d03a08717

View File

@ -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);