diff options
Diffstat (limited to 'web_src/js/features/stopwatch.js')
-rw-r--r-- | web_src/js/features/stopwatch.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/js/features/stopwatch.js b/web_src/js/features/stopwatch.js index fc534f858c..b9042fae4c 100644 --- a/web_src/js/features/stopwatch.js +++ b/web_src/js/features/stopwatch.js @@ -135,7 +135,7 @@ function updateStopwatchData(data) { updateStopwatchTime(seconds); btnEl.removeClass('hidden'); } - return !!data.length; + return Boolean(data.length); } let updateTimeIntervalId = null; // holds setInterval id when active |