메시지 관련 버그 우회

This commit is contained in:
2018-04-17 01:55:12 +09:00
parent 7ef3f0d5c5
commit 8c21eec168
6 changed files with 54 additions and 31 deletions
+2 -2
View File
@@ -12,7 +12,7 @@ function hexToRgb(hex) {
function isBrightColor(color){
color = hexToRgb(color);
if ((color.r*0.299 + color.g*0.587 + color.b*0.114) > 186){
if ((color.r*0.299 + color.g*0.587 + color.b*0.114) > 140){
return true;
}
else{
@@ -31,7 +31,7 @@ var generalList = {};
function responseMessage(msgID, response){
$.ajax({
url: 'j_decide_opt.php',
url: 'j_msg_decide_opt.php',
type: 'post',
dataType:'json',
contentType: 'application/json',