Merge pull request #35 from itchytag/changeColor

Update control.js
This commit is contained in:
woutervanwijk 2014-09-18 23:47:18 +02:00
commit af88b39c1d

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;
}