don't mute minutes when hours is unmuted

This commit is contained in:
Adam Spiers 2016-04-16 17:39:04 +01:00
parent 89b0c5a8d0
commit b1b4ee270b

View file

@ -470,7 +470,7 @@
hrEl.innerHTML = zeroPadInteger( hours );
hrEl.className = hours > 0 ? '' : 'mute';
minEl.innerHTML = ':' + zeroPadInteger( minutes );
minEl.className = minutes > 0 ? '' : 'mute';
minEl.className = (hours > 0 || minutes > 0) ? '' : 'mute';
secEl.innerHTML = ':' + zeroPadInteger( seconds );
}