summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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.js3
1 files changed, 1 insertions, 2 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 11008e6a..68693f57 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 @@
-/* Do not modify this file directly. It is compiled from other files. */
-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
+jQuery(document).ready((function(t){var e=[];t(".comment-like-count").each((function(){var n=t(this).attr("data-blog-id"),a=t(this).attr("data-comment-id");e.push("/sites/"+n+"/comments/"+a+"/likes")})),t.ajax({type:"GET",url:"https://public-api.wordpress.com/rest/v1/batch",dataType:"jsonp",data:"urls[]="+e.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