From e8c618377a252600e8b44ef2ad200ab764f70bae Mon Sep 17 00:00:00 2001 From: itchytag Date: Mon, 21 Jul 2014 14:34:39 -0400 Subject: [PATCH] Update control.js Remove icons from shuffle/repeat buttons and use color to indicate if the functions are active. --- webclient/js/controls.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/webclient/js/controls.js b/webclient/js/controls.js index db507aa..3502144 100644 --- a/webclient/js/controls.js +++ b/webclient/js/controls.js @@ -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; }