frontend: fix partial solved flags display
This commit is contained in:
parent
10ce8ffa92
commit
ab7d72f442
|
@ -237,6 +237,7 @@ angular.module("FICApp", ["ngRoute", "ngSanitize"])
|
||||||
$http.get("/my.json").success(function(my) {
|
$http.get("/my.json").success(function(my) {
|
||||||
if ($scope.my.exercices[$rootScope.current_exercice].solved_time != my.exercices[$rootScope.current_exercice].solved_time) {
|
if ($scope.my.exercices[$rootScope.current_exercice].solved_time != my.exercices[$rootScope.current_exercice].solved_time) {
|
||||||
$rootScope.refresh();
|
$rootScope.refresh();
|
||||||
|
$scope.my = my;
|
||||||
waitMy();
|
waitMy();
|
||||||
} else {
|
} else {
|
||||||
$timeout.cancel($scope.cbd);
|
$timeout.cancel($scope.cbd);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user