국가 정보 반환시 0인 경우에 한해 재야도 반환.

- 재야의 색을 #000000 으로 설정
This commit is contained in:
2018-04-15 23:41:36 +09:00
parent 5a6cd7fb46
commit 6a100ed2c1
7 changed files with 35 additions and 28 deletions
+2 -6
View File
@@ -82,12 +82,12 @@ function redrawMsg(deferred){
var msg = this;
if(!msg.src.nation){
msg.src.nation = '재야';
msg.src.color = '#ffffff';
msg.src.color = '#000000';
}
if(!msg.dest.nation){
msg.dest.nation = '재야';
msg.dest.color = '#ffffff';
msg.dest.color = '#000000';
}
msg.src.colorType = isBrightColor(msg.src.color)?'bright':'dark';
@@ -186,10 +186,6 @@ function redrawMsg(deferred){
.then(registerSequence)
.then(refineMessageObjs)
.then(printTemplate);
}
function refreshMailboxList(obj){