don't mute minutes when hours is unmuted
This commit is contained in:
parent
89b0c5a8d0
commit
b1b4ee270b
|
@ -470,7 +470,7 @@
|
||||||
hrEl.innerHTML = zeroPadInteger( hours );
|
hrEl.innerHTML = zeroPadInteger( hours );
|
||||||
hrEl.className = hours > 0 ? '' : 'mute';
|
hrEl.className = hours > 0 ? '' : 'mute';
|
||||||
minEl.innerHTML = ':' + zeroPadInteger( minutes );
|
minEl.innerHTML = ':' + zeroPadInteger( minutes );
|
||||||
minEl.className = minutes > 0 ? '' : 'mute';
|
minEl.className = (hours > 0 || minutes > 0) ? '' : 'mute';
|
||||||
secEl.innerHTML = ':' + zeroPadInteger( seconds );
|
secEl.innerHTML = ':' + zeroPadInteger( seconds );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue