추천 비추천 후 결과 메세지 표시되도록 수정
This commit is contained in:
@ -251,8 +251,10 @@ function excute_good(href, $el, $tx)
|
|||||||
$el.find("strong").text(number_format(String(data.count)));
|
$el.find("strong").text(number_format(String(data.count)));
|
||||||
if($tx.attr("id").search("nogood") > -1) {
|
if($tx.attr("id").search("nogood") > -1) {
|
||||||
$tx.text("이 글을 비추천하셨습니다.");
|
$tx.text("이 글을 비추천하셨습니다.");
|
||||||
|
$tx.fadeIn(200).delay(2500).fadeOut(200);
|
||||||
} else {
|
} else {
|
||||||
$tx.text("이 글을 추천하셨습니다.");
|
$tx.text("이 글을 추천하셨습니다.");
|
||||||
|
$tx.fadeIn(200).delay(2500).fadeOut(200);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, "json"
|
}, "json"
|
||||||
|
|||||||
@ -251,8 +251,10 @@ function excute_good(href, $el, $tx)
|
|||||||
$el.find("strong").text(number_format(String(data.count)));
|
$el.find("strong").text(number_format(String(data.count)));
|
||||||
if($tx.attr("id").search("nogood") > -1) {
|
if($tx.attr("id").search("nogood") > -1) {
|
||||||
$tx.text("이 글을 비추천하셨습니다.");
|
$tx.text("이 글을 비추천하셨습니다.");
|
||||||
|
$tx.fadeIn(200).delay(2500).fadeOut(200);
|
||||||
} else {
|
} else {
|
||||||
$tx.text("이 글을 추천하셨습니다.");
|
$tx.text("이 글을 추천하셨습니다.");
|
||||||
|
$tx.fadeIn(200).delay(2500).fadeOut(200);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, "json"
|
}, "json"
|
||||||
|
|||||||
@ -263,8 +263,10 @@ function excute_good(href, $el, $tx)
|
|||||||
$el.find("strong").text(number_format(String(data.count)));
|
$el.find("strong").text(number_format(String(data.count)));
|
||||||
if($tx.attr("id").search("nogood") > -1) {
|
if($tx.attr("id").search("nogood") > -1) {
|
||||||
$tx.text("이 글을 비추천하셨습니다.");
|
$tx.text("이 글을 비추천하셨습니다.");
|
||||||
|
$tx.fadeIn(200).delay(2500).fadeOut(200);
|
||||||
} else {
|
} else {
|
||||||
$tx.text("이 글을 추천하셨습니다.");
|
$tx.text("이 글을 추천하셨습니다.");
|
||||||
|
$tx.fadeIn(200).delay(2500).fadeOut(200);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, "json"
|
}, "json"
|
||||||
|
|||||||
@ -263,8 +263,10 @@ function excute_good(href, $el, $tx)
|
|||||||
$el.find("strong").text(number_format(String(data.count)));
|
$el.find("strong").text(number_format(String(data.count)));
|
||||||
if($tx.attr("id").search("nogood") > -1) {
|
if($tx.attr("id").search("nogood") > -1) {
|
||||||
$tx.text("이 글을 비추천하셨습니다.");
|
$tx.text("이 글을 비추천하셨습니다.");
|
||||||
|
$tx.fadeIn(200).delay(2500).fadeOut(200);
|
||||||
} else {
|
} else {
|
||||||
$tx.text("이 글을 추천하셨습니다.");
|
$tx.text("이 글을 추천하셨습니다.");
|
||||||
|
$tx.fadeIn(200).delay(2500).fadeOut(200);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, "json"
|
}, "json"
|
||||||
|
|||||||
Reference in New Issue
Block a user