We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$(".block--discussion-thread").each(function(el) { if (!$(this).hasClass("block--discussion-thread--checked")) { if (typeof $(this)[0].children[4] !== "undefined") { var blockID = "#" + $(this)[0].children[3].id; var numOfComments = $(this)[0].children.length - 4; if (numOfComments == 1) { $(this).addClass("block--discussion-thread--orphan"); } else { $(blockID).append("<div class='more more--comments'><span class='more__label' data-icon=''>" + numOfComments + " more replies</span></div>"); } } } $(this).addClass("block--discussion-thread--checked"); });
This piece of code fails with a DOM exception 12 error on the line starting $(blockID).append
$(blockID).append
Console error references line 88 in Qwery 4.0, reverting to older 3.x version fixes this.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This piece of code fails with a DOM exception 12 error on the line starting
$(blockID).append
Console error references line 88 in Qwery 4.0, reverting to older 3.x version fixes this.
The text was updated successfully, but these errors were encountered: