mirror of
https://github.com/go-gitea/gitea
synced 2025-07-03 17:17:19 +00:00
Update web_src/js/features/stopwatch.js
This commit is contained in:
@ -165,7 +165,7 @@ function updateStopwatchTime(seconds) {
|
|||||||
const dur = prettyMilliseconds(secs * 1000 + delta, {compact: true});
|
const dur = prettyMilliseconds(secs * 1000 + delta, {compact: true});
|
||||||
if (stopwatch) stopwatch.textContent = dur;
|
if (stopwatch) stopwatch.textContent = dur;
|
||||||
// refresh the tippy so that the triangle updates to the correct position
|
// refresh the tippy so that the triangle updates to the correct position
|
||||||
if (stopwatchTippy.state.isShown) {
|
if (stopwatchTippy?.state.isShown) {
|
||||||
stopwatchTippy.hide();
|
stopwatchTippy.hide();
|
||||||
stopwatchTippy.show();
|
stopwatchTippy.show();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user