${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
HOME
BLOG
EVENTS
WORK WITH US
CONTACT
LOGIN
BOOK A CALL
Can a Coach achieve success at overcoming anxiety naturally?
2 Feb 2014
Please enable JavaScript to view the
comments powered by Disqus.
Terms of Use and Privacy Policy
Disclaimer
Onda Pty Ltd T/A PE Coaching
www.bradgreentree.com
02 8003 7446
© 2020 Brad Greentree. All rights Reserved Brad Greentree
50% Complete
Almost there
Book a free discovery call and find out how Brad can help you achieve personal empowerment
Start Coaching Today
Get Instant Access
Your information is safe and will Never be shared