Skip to content

Commit 364b31d

Browse files
committed
fixing undeclared timeoutId error in reset
1 parent 5ffe343 commit 364b31d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/js/_timer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ var timerModule = angular.module('timer', [])
181181
$scope.isRunning = false;
182182
$scope.clear();
183183
$scope.$emit('timer-reset', {
184-
timeoutId: timeoutId,
184+
timeoutId: $scope.timeoutId,
185185
millis: $scope.millis,
186186
seconds: $scope.seconds,
187187
minutes: $scope.minutes,

0 commit comments

Comments
 (0)