대량배터봐라.
머 맨날 올킬한다길래 자게나 분석게시판에 픽이라도 쓰고하는줄 알았더만
네투마냥 경기끝나면 와서 다 올킬했다고 ㅅㅅㅅ 이러길래 분석게시판 자게에 너이름으로 검색하면 이렇게뜨더라.
let lock_recomment = false;
function recommendArticle() {
if (lock_recomment) {
return;
}
lock_recomment = true;
jQuery.ajax({
type: "post",
url: "./recommend.ajax.php",
catche:false,
data: {bo_table:"free", wr_id:"10577154"},
dataType : "json",
success: function(res) {
lock_recomment = false;
alert(res.msg);
switch (res.code) {
case "success" :
$('#recommendButtonNew span').html(
parseInt($('#recommendButtonNew span').html()) + 1
);
$('.artc_info .count_reply span').html(
parseInt($('.artc_info .count_reply span').html()) + 1
);
break;
default :
return false;
break;
}
},
error: function(res) {
lock_recomment = false;
}
});
}