Try this change your asset/js/bp-like-min.js
function bp_like(){jQuery(“.like, .unlike, .like_blogpost, .unlike_blogpost”).click(function(){var e=jQuery(this).attr(“class”),t=jQuery(this).attr(“id”);jQuery(this).addClass(“loading”);jQuery.post(ajaxurl,{action:”activity_like”,cookie:encodeURIComponent(document.cookie),type:e,id:t},function(n){jQuery(“#”+t).fadeOut(50,function(){jQuery(this).html(n).removeClass(“loading”).fadeIn(50)});var r,i;if(e===”button like”){r=t.replace(“like”,”unlike”);jQuery(“#”+t).removeClass(“like”).addClass(“unlike”).attr(“title”,bp_like_terms_unlike_message).attr(“id”,r)}else if(e===”acomment-reply bp-primary-action like”){r=t.replace(“like”,”unlike”);jQuery(“#”+t).removeClass(“like”).addClass(“unlike”).attr(“title”,bp_like_terms_unlike_message).attr(“id”,r)}else if(e===”button like_blogpost”){r=t.replace(“like”,”unlike”);jQuery(“#”+t).removeClass(“like_blogpost”).addClass(“unlike_blogpost”).attr(“title”,bp_like_terms_unlike_message).attr(“id”,r)}else if(e===”button unlike_blogpost”){r=t.replace(“unlike”,”like”);jQuery(“#”+t).removeClass(“unlike_blogpost”).addClass(“like_blogpost”).attr(“title”,bp_like_terms_unlike_message).attr(“id”,r)}else if(e===”acomment-reply bp-primary-action unlike”){r=t.replace(“unlike”,”like”);jQuery(“#”+t).removeClass(“unlike”).addClass(“like”).attr(“title”,bp_like_terms_like_message).attr(“id”,r)}else{r=t.replace(“unlike”,”like”);jQuery(“#”+t).removeClass(“unlike”).addClass(“like”).attr(“title”,bp_like_terms_like_message).attr(“id”,r)}});return false})}jQuery(document).ready(bp_like);jQuery(document).ajaxComplete(bp_like);
$( “#dialog” ).dialog({ autoOpen: false });
$( “#opener” ).click(function() {
$( “#dialog” ).dialog( “open” );
});