More indentationfixes

This commit is contained in:
Kasper Rynning-Tønnesen
2017-05-06 13:29:23 +02:00
parent f1d4b80636
commit 627719a967
4 changed files with 121 additions and 100 deletions

View File

@@ -22,8 +22,7 @@ var Hostcontroller = {
}
},
host_on_action: function(arr)
{
host_on_action: function(arr) {
if(enabled){
if(arr.type == "volume") {
$("#volume").slider("value", arr.value);
@@ -50,10 +49,11 @@ var Hostcontroller = {
} else if(arr.type == "skip") {
List.skip();
}
},
change_enabled:function(val){
enabled = val;
document.getElementsByName("remote_switch")[0].checked = enabled;
}
};
},
change_enabled:function(val){
enabled = val;
document.getElementsByName("remote_switch")[0].checked = enabled;
}
};