mirror of
https://github.com/bckelley/cgm-remote-monitor.git
synced 2026-08-24 03:14:12 -05:00
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:
+1
-1
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user