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