minor tweak...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-12-23 00:01:09 +03:00
parent 643a6d0eb9
commit 4e1f9fbf56

View File

@ -281,7 +281,7 @@ var ProgressActions = actions.Actions({
` / -${ ` / -${
remaining.toISOString() remaining.toISOString()
.substr(11, 8) .substr(11, 8)
.replace(/^00:/, '') }s` .replace(/^00:(00:)?/, '') }s`
: '' : ''
// format the message... // format the message...
msg = msg ? ': '+msg : '' msg = msg ? ': '+msg : ''