From b1b4ee270b189c4c9ed699df70ea10badc43edc9 Mon Sep 17 00:00:00 2001 From: Adam Spiers Date: Sat, 16 Apr 2016 17:39:04 +0100 Subject: don't mute minutes when hours is unmuted --- plugin/notes/notes.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/notes/notes.html b/plugin/notes/notes.html index 5334d81..2012361 100644 --- a/plugin/notes/notes.html +++ b/plugin/notes/notes.html @@ -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 ); } -- cgit v1.2.3