make sure all alarms are cleared

fixes bug where only the first alarm was clear but both urgent and warning were playing
This commit is contained in:
Jason Calabrese
2015-01-11 20:17:50 -08:00
parent 1aec240cc7
commit 3a27b7fc23
+1 -1
View File
@@ -945,7 +945,7 @@ var app = {}, browserSettings = {}, browserStorage = $.localStorage;
bgButton.hide();
var noButton = $('#noButton');
noButton.show();
d3.select('audio.playing').each(function (d, i) {
d3.selectAll('audio.playing').each(function (d, i) {
var audio = this;
audio.pause();
$(this).removeClass('playing');