set shuffle to change color upon hovering it
This commit is contained in:
@@ -221,9 +221,15 @@
|
||||
function toggleShuffleColor() {
|
||||
if (g_shuffle) {
|
||||
$('#btn-shuffle').css('color', '#FF9148');
|
||||
$('#btn-shuffle').hover(function(e) {
|
||||
$(this).css("color",e.type === "mouseenter"?"#4e91ff":"#FF9148")
|
||||
});
|
||||
}
|
||||
else {
|
||||
$('#btn-shuffle').css('color', '#808080');
|
||||
$('#btn-shuffle').hover(function(e) {
|
||||
$(this).css("color",e.type === "mouseenter"?"#4e91ff":"#808080")
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user