aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Spiers <github@adamspiers.org>2016-04-16 17:39:04 +0100
committerAdam Spiers <github@adamspiers.org>2017-04-20 15:18:15 +0100
commitb1b4ee270b189c4c9ed699df70ea10badc43edc9 (patch)
tree4200c236ac6093329465bb159a9d79bad6c8253b
parent89b0c5a8d04e347492ce7dd28fdb1305c6b5724a (diff)
downloadfosdem-2018-presentation-b1b4ee270b189c4c9ed699df70ea10badc43edc9.tar
fosdem-2018-presentation-b1b4ee270b189c4c9ed699df70ea10badc43edc9.tar.gz
don't mute minutes when hours is unmuted
-rw-r--r--plugin/notes/notes.html2
1 files changed, 1 insertions, 1 deletions
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 );
}