diff options
Diffstat (limited to 'beamer/viewer/screen')
-rw-r--r-- | beamer/viewer/screen/timer.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/beamer/viewer/screen/timer.js b/beamer/viewer/screen/timer.js index 112a421..0f5d9bc 100644 --- a/beamer/viewer/screen/timer.js +++ b/beamer/viewer/screen/timer.js | |||
@@ -78,7 +78,7 @@ class Timer { | |||
78 | _setDisplay(seconds) { | 78 | _setDisplay(seconds) { |
79 | const dateObj = new Date(null); | 79 | const dateObj = new Date(null); |
80 | dateObj.setSeconds(seconds); | 80 | dateObj.setSeconds(seconds); |
81 | this.display.textContent = dateObj.toISOString().substr(11, 8); | 81 | this.display.textContent = dateObj.toISOString().slice(11, 11+8); |
82 | } | 82 | } |
83 | 83 | ||
84 | _toggleDisplay(active) { | 84 | _toggleDisplay(active) { |