Update control.js
Remove icons from shuffle/repeat buttons and use color to indicate if the functions are active.
This commit is contained in:
parent
d8aa08b4f6
commit
e8c618377a
8
webclient/js/controls.js
vendored
8
webclient/js/controls.js
vendored
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user