diff --git a/hwe/js/msg.js b/hwe/js/msg.js index a059f661..0af6eeef 100644 --- a/hwe/js/msg.js +++ b/hwe/js/msg.js @@ -290,13 +290,13 @@ function refreshMailboxList(obj){ var nation = this; //console.log(nation); var $nation = $(''.format(nation.mailbox,nation.name)); - $nation.css('color', nation.color); + $nation.css('background-color', nation.color); if(isBrightColor(nation.color)){ - $nation.css('background-color', 'black'); + $nation.css('color', 'black'); } else{ - $nation.css('background-color', 'white'); + $nation.css('color', 'white'); } $favorite.append($nation); });