diff options
Diffstat (limited to 'plugins/jetpack/_inc/build/comment-likes/comment-like-count.min.js')
-rw-r--r-- | plugins/jetpack/_inc/build/comment-likes/comment-like-count.min.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/jetpack/_inc/build/comment-likes/comment-like-count.min.js b/plugins/jetpack/_inc/build/comment-likes/comment-like-count.min.js index 28c749ca..11008e6a 100644 --- a/plugins/jetpack/_inc/build/comment-likes/comment-like-count.min.js +++ b/plugins/jetpack/_inc/build/comment-likes/comment-like-count.min.js @@ -1,2 +1,2 @@ /* Do not modify this file directly. It is compiled from other files. */ -jQuery(document).ready(function(t){var n="https://public-api.wordpress.com/rest/v1",e=[];!function(){t(".comment-like-count").each(function(){var n=t(this).attr("data-blog-id"),o=t(this).attr("data-comment-id");e.push("/sites/"+n+"/comments/"+o+"/likes")}),t.ajax({type:"GET",url:n+"/batch",dataType:"jsonp",data:"urls[]="+e.map(encodeURIComponent).join("&urls[]="),success:function(n){for(var e in n)if(!n[e].error_data){var o=e.split("/"),a=o[4],i=n[e].found;if(i<1)return;t("#comment-like-count-"+a).find(".like-count").hide().text(i).fadeIn()}},error:function(){}})}()});
\ No newline at end of file +jQuery(document).ready(function(t){var e="https://public-api.wordpress.com/rest/v1",n=[];t(".comment-like-count").each(function(){var e=t(this).attr("data-blog-id"),a=t(this).attr("data-comment-id");n.push("/sites/"+e+"/comments/"+a+"/likes")}),t.ajax({type:"GET",url:e+"/batch",dataType:"jsonp",data:"urls[]="+n.map(encodeURIComponent).join("&urls[]="),success:function(e){for(var n in e)if(!e[n].error_data){var a=n.split("/")[4],o=e[n].found;if(o<1)return;t("#comment-like-count-"+a).find(".like-count").hide().text(o).fadeIn()}},error:function(){}})});
\ No newline at end of file |