This commit is contained in:
nemunaire 2016-12-08 12:02:06 +01:00 committed by Pierre-Olivier Mercier
parent 5db3f5eff9
commit 724d8581a8
5 changed files with 39 additions and 0 deletions

View file

@ -247,6 +247,7 @@ angular.module("FICApp")
$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();
waitMy();
} else {
$timeout.cancel($scope.cbd);
$scope.cbd = $timeout(checkDiff, 750);