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

View file

@ -244,6 +244,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);