Skip to content

Commit 78f1803

Browse files
committed
Update timer.js
added true to fullSeconds
1 parent c0bb625 commit 78f1803

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
@@ -92,7 +92,7 @@ angular.module('timer', [])
9292
});
9393

9494
function calculateTimeUnits() {
95-
if ($scope.fullSeconds) {
95+
if ($scope.fullSeconds === true) {
9696
$scope.seconds = Math.floor($scope.millis / 1000);
9797
} else {
9898
$scope.seconds = Math.floor(($scope.millis / 1000) % 60);

0 commit comments

Comments
 (0)