summaryrefslogtreecommitdiff
path: root/static/js/dynamic-comment-form.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/js/dynamic-comment-form.js')
-rw-r--r--static/js/dynamic-comment-form.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/static/js/dynamic-comment-form.js b/static/js/dynamic-comment-form.js
index 4be2d52..ff5f875 100644
--- a/static/js/dynamic-comment-form.js
+++ b/static/js/dynamic-comment-form.js
@@ -82,6 +82,12 @@ window.addEventListener("load", () => {
window.addEventListener("load", () => {
+ // Unhide additional comment actions if Javascript is enabled.
+ let additionalActionsRows = document.querySelectorAll(".comment-additional-actions");
+ for (let row of additionalActionsRows) {
+ row.removeAttribute("hidden");
+ }
+
let header = document.getElementById("comment-form-header");
let replyTo = document.getElementById("reply-to");
let buttons = document.querySelectorAll(".comment-reply-button");