');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;});});
I抦 impressed, I need to say. Actually hardly ever do I encounter a blog that抯 both educative and entertaining, and let me let you know, you have got hit the nail on the head. Your idea is excellent; the problem is one thing that not sufficient persons are speaking intelligently about. I am very happy that I stumbled across this in my search for one thing referring to this.
[url=https://www.air-jordanoutlet.com]jordan shoes[/url]
KOMENTARZE (4)