Update control.js

Remove icons from shuffle/repeat buttons and use color to indicate if the functions are active.
This commit is contained in:
itchytag 2014-07-21 14:34:39 -04:00
parent d8aa08b4f6
commit e8c618377a

View File

@ -312,9 +312,9 @@ function setRepeat(nwrepeat) {
return
}
if (!nwrepeat) {
$("#repeatbt").attr('src', 'images/icons/reload_alt_18x21.png');
$("#repeatbt").attr('style', 'color:#7cc4e7');
} else {
$("#repeatbt").attr('src', 'images/icons/reload_18x21.png');
$("#repeatbt").attr('style', 'color:#66FF33');
}
repeat = nwrepeat;
}
@ -324,9 +324,9 @@ function setRandom(nwrandom) {
return
}
if (!nwrandom) {
$("#randombt").attr('src', 'images/icons/loop_alt2_24x21.png');
$("#randombt").attr('style', 'color:#7cc4e7');
} else {
$("#randombt").attr('src', 'images/icons/loop_24x24.png');
$("#randombt").attr('style', 'color:#66FF33');
}
random = nwrandom;
}