${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
Join the next Hypnosis Training
1 Dec 2011
Our Next Hypnosis Training is coming up very soon. In this weekend you will learn how to use hypnosis for:
Weight loss,
Smoking,
Stress reduction,
Performance enhancement.
Also you will learn how to use self hypnosis to control pain!
Check out the schedule of events to find out the dates for your capital city.
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