국가색 새로
This commit is contained in:
+3
-3
@@ -290,13 +290,13 @@ function refreshMailboxList(obj){
|
|||||||
var nation = this;
|
var nation = this;
|
||||||
//console.log(nation);
|
//console.log(nation);
|
||||||
var $nation = $('<option value="{0}">{1}</option>'.format(nation.mailbox,nation.name));
|
var $nation = $('<option value="{0}">{1}</option>'.format(nation.mailbox,nation.name));
|
||||||
$nation.css('color', nation.color);
|
$nation.css('background-color', nation.color);
|
||||||
|
|
||||||
if(isBrightColor(nation.color)){
|
if(isBrightColor(nation.color)){
|
||||||
$nation.css('background-color', 'black');
|
$nation.css('color', 'black');
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
$nation.css('background-color', 'white');
|
$nation.css('color', 'white');
|
||||||
}
|
}
|
||||||
$favorite.append($nation);
|
$favorite.append($nation);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user