Skip to content

Commit 431d92c

Browse files
committed
adicionando status countDown na pausa
1 parent 6f958c4 commit 431d92c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

asset/javascript/TimeController.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ function TimerController(reference) {
244244
}
245245

246246
function pause() {
247-
if (lastTimerStatus === TimerStatus.RUNNING) {
247+
if (lastTimerStatus === TimerStatus.RUNNING || lastTimerStatus === TimerStatus.COUNTDOWN) {
248248
lastTimerStatus = TimerStatus.PAUSED;
249249
startButton.showElement();
250250
pauseButton.hideElement();

0 commit comments

Comments
 (0)