_form_textarea').val($('.comment_form_textarea').val() + '[f=' + $(this).attr('facename') + ']') }); $('body').on('click', '.popover-btn-face', function (e) { if ($('.conment-face-plane').css("visibility") == 'visible') { $('.conment-face-plane').css("opacity", "0"); $('.conment-face-plane').css("visibility", "hidden"); } else { $('.conment-face-plane').css("opacity", "1"); $('.conment-face-plane').css("visibility", "visible"); } e.stopPropagation(); });