');const id = $(this).data('id');if($.cookie('cp_'+id)){$(this).html(clicktmp);comment_block=0;}else{$.ajax({url: '/forums/add_plus/',type: 'POST',cache: false,data: 'post_id='+id,error: function(){$(this).html(clicktmp);comment_block=0;},success: function(d){if(d!==''){console.log(d);ob.html(d);$.cookie('cp_'+id, '1', { expires: 365, path:'/' });} else {ob.html(clicktmp);}comment_block=0;}});}return false;});$('span.negative').click(function(){if(comment_block===1){return false;}comment_block=1;const ob = $(this);const clicktmp = $(this).html();$(this).html('');const id = $(this).data('id');if($.cookie('cp_'+id)){$(this).html(clicktmp);comment_block=0;}else{$.ajax({url: '/forums/add_minus/',type: 'POST',cache: false,data: 'post_id='+id,error: function(){$(this).html(clicktmp);comment_block=0;},success: function(d){if(d!==''){ob.html(d);$.cookie('cp_'+id, '1', { expires: 365, path:'/' });} else {ob.html(clicktmp);}comment_block=0;}});}return false;});});
Onet do gazu.
Ten Marcin Wyrwał, co jeździ na Ukrainę jako korespondent kłamał o polskiej ŻW? No kto by pomyślał...
"dopuścili się wobec Generałów" Macie hitlerowca w redkacji? Dlaczego nie piszecie po polsku?
KOMENTARZE (8)