0.6.3 release

This commit is contained in:
Jonas Heinrich 2018-08-16 23:13:18 +02:00
parent 0cb3552ace
commit f3f316bfe1

View File

@ -407,7 +407,7 @@ $(function(){
step: .1,
slide: function(e, ui) {
player.volume = ui.value;
if (ui.value < 0.2) {
if (ui.value < 0.1) {
$("#volumeicon").removeClass();
$("#volumeicon").attr("class","silent");
}
@ -415,7 +415,7 @@ $(function(){
$("#volumeicon").removeClass();
$("#volumeicon").attr("class","full");
}
if (ui.value < 0.5 && ui.value > 0.2) {
if (ui.value <= 0.5 && ui.value >= 0.1) {
$("#volumeicon").removeClass();
$("#volumeicon").attr("class","mid");
}
@ -444,7 +444,7 @@ $("#volumeicon").on("click", function(e) {
save_volume_state(1);
}
}
if (player.volume < 0.2) {
if (player.volume < 0.1) {
$("#volumeicon").removeClass();
$("#volumeicon").attr("class","silent");
}
@ -452,7 +452,7 @@ $("#volumeicon").on("click", function(e) {
$("#volumeicon").removeClass();
$("#volumeicon").attr("class","full");
}
if (player.volume < 0.5 && player.volume > 0.2) {
if (player.volume <= 0.5 && player.volume >= 0.1) {
$("#volumeicon").removeClass();
$("#volumeicon").attr("class","mid");
}
@ -472,7 +472,7 @@ $("#volumeicon").on("click", function(e) {
last_volume = volume_state;
player.volume = Number(volume_state);
$('#volumeslider').slider('value',Number(volume_state));
if (volume_state < 0.2) {
if (volume_state < 0.1) {
$("#volumeicon").removeClass();
$("#volumeicon").attr("class","silent");
}
@ -480,7 +480,7 @@ $("#volumeicon").on("click", function(e) {
$("#volumeicon").removeClass();
$("#volumeicon").attr("class","full");
}
if (volume_state < 0.5 && volume_state > 0.2) {
if (volume_state <= 0.5 && volume_state >= 0.1) {
$("#volumeicon").removeClass();
$("#volumeicon").attr("class","mid");
}