We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a70954 commit 2c2484bCopy full SHA for 2c2484b
app/js/timer.js
@@ -105,7 +105,7 @@ angular.module('timer', [])
105
//We are not using $timeout for a reason. Please read here - https://github.com/siddii/angular-timer/pull/5
106
$scope.timeoutId = setTimeout(function () {
107
tick();
108
- $scope.$apply();
+ $scope.$digest();
109
}, $scope.interval - adjustment);
110
111
$scope.$emit('timer-tick', {timeoutId: $scope.timeoutId, millis: $scope.millis});
0 commit comments