Commit f3f316bf authored by onny's avatar onny

0.6.3 release

parent 0cb3552a
......@@ -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");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment