${commentUserName} said:
${html}
`; ++blockquoteId; addSocialWallReply(quoteHtml, commentContainer); }, replyLabel: 'Quote', filter: '#socialWall .socialWallCommentTextContent, #socialWallComments .socialWallCommentTextContent, #socialWallSearchModal .socialWallCommentTextContent, #commentThreadDialog .socialWallCommentTextContent' }); } function updateSocialWallCommentsBorderLines() { jQuery('.socialWallComment.socialWallCommentHasChildren').each(function(_, commentRow) { commentRow = jQuery(commentRow); console.log(commentRow.attr('id')); const repliesContainer = commentRow.find('.socialWallCommentRepliesContainer:first'); const lastChildComment = repliesContainer.children('.socialWallComment:visible:last'); let heightToSubstract = parseInt(lastChildComment.outerHeight()) + parseInt(lastChildComment.css('margin-bottom')) + parseInt(lastChildComment.css('margin-top')); lastChildComment.nextAll(':visible').each(function(_, element) { element = jQuery(element); heightToSubstract += element.outerHeight(); }); const replyContainer = commentRow.children('.socialWallCommentReplyContainer'); if (replyContainer.is(':visible')) { heightToSubstract += replyContainer.outerHeight() + parseInt(replyContainer.css('margin-bottom')) + parseInt(replyContainer.css('margin-top')); } const border = commentRow.find('.socialWallCommentLeftBorderAllHeight'); heightToSubstract += parseInt(border.css('top')); border.css('height', 'calc(100% - ' + (heightToSubstract) + 'px)'); }); }
×
Edit Comment
Close
Save Comment
(Previously known as 10XPRO)
FEATURES
PRICING
PRAISE
FAQ
LOGIN
Case Study: Feliks Golenko
Yes! I want to speed up my results and get everything I need to run my online business now.
Get Access Now & Secure A Lifetime Discount
START MY TRIAL NOW
©KLEQ
Privacy Policy
Terms & Conditions
Refunds
Cookie Policy
Affiliates
50% Complete
Almost there!
Step 1: Create Your Account
CONTINUE
Your information is safe and will Never be shared