mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-21 16:13:00 +00:00
feature-comments: typo
This commit is contained in:
parent
d56217f929
commit
4b173225b5
1 changed files with 4 additions and 4 deletions
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
register_module([
|
register_module([
|
||||||
"name" => "Page Comments",
|
"name" => "Page Comments",
|
||||||
"version" => "0.3.6",
|
"version" => "0.3.7",
|
||||||
"author" => "Starbeamrainbowlabs",
|
"author" => "Starbeamrainbowlabs",
|
||||||
"description" => "Adds threaded comments to the bottom of every page.",
|
"description" => "Adds threaded comments to the bottom of every page.",
|
||||||
"id" => "feature-comments",
|
"id" => "feature-comments",
|
||||||
|
@ -308,9 +308,9 @@ function display_reply_form(event)
|
||||||
// Set the comment we're replying to
|
// Set the comment we're replying to
|
||||||
replyForm.querySelector("[name=replyto]").value = event.target.parentElement.parentElement.parentElement.dataset.commentId;
|
replyForm.querySelector("[name=replyto]").value = event.target.parentElement.parentElement.parentElement.dataset.commentId;
|
||||||
// Display the newly-cloned commenting form
|
// Display the newly-cloned commenting form
|
||||||
var replyBoxContiner = event.target.parentElement.parentElement.parentElement.querySelector(".reply-box-container");
|
var replyBoxContainer = event.target.parentElement.parentElement.parentElement.querySelector(".reply-box-container");
|
||||||
replyBoxContiner.classList.add("active");
|
replyBoxContainer.classList.add("active");
|
||||||
replyBoxContiner.appendChild(replyForm);
|
replyBoxContainer.appendChild(replyForm);
|
||||||
// Hide the reply button so it can't be pressed more than once - that could
|
// Hide the reply button so it can't be pressed more than once - that could
|
||||||
// be awkward :P
|
// be awkward :P
|
||||||
event.target.parentElement.removeChild(event.target);
|
event.target.parentElement.removeChild(event.target);
|
||||||
|
|
Loading…
Reference in a new issue