Skip to content

Commit 3db08fb

Browse files
committed
fixup! js live update robustness
1 parent 6950ebf commit 3db08fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/features/stopwatch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ async function updateStopwatch() {
8080

8181
async function updateStopwatchTime(seconds) {
8282
const secs = parseInt(seconds);
83-
if (!isFinite(secs)) return;
83+
if (!Number.isFinite(secs)) return;
8484

8585
const start = Date.now();
8686
updateTimeInterval = setInterval(() => {

0 commit comments

Comments
 (0)