1
0
mirror of https://github.com/SuperBFG7/ympd synced 2025-12-18 11:58:06 +00:00

merge branch lmanul-master

This commit is contained in:
SuperBFG7
2017-12-18 15:00:28 +01:00
parent 604d54a0bb
commit d9182dd2f4
4 changed files with 25 additions and 43 deletions

View File

@@ -539,7 +539,7 @@ function webSocketConnect() {
case "outputnames":
$('#btn-outputs-block button').remove();
$.each(obj.data, function(id, name){
var btn = $('<button id="btnoutput'+id+'" class="btn btn-default" onclick="toggleoutput(this, '+id+')"><span class="glyphicon glyphicon-volume-up"></span> '+name+'</button>');
var btn = $('<button id="btnoutput'+id+'" class="btn btn-default" onclick="toggleoutput(this, '+id+')"><span class="glyphicon">&#xe038;</span><span class="btn-label" title="'+name+'">'+name+'</span></button>');
btn.appendTo($('#btn-outputs-block'));
});
/* remove cache, since the buttons have been recreated */