');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;});});
Głupota ale dla kasy robi same głupie rzeczy takich dziennikarzy ma TVP info !!
Redaktor Rachoń to klasa sama w sobie, uwielbiam oglądać TVP odkąd w niej jest. Brawo Prezes Kurski!
Bohater
KOMENTARZE (100)