History: edit (and fixes)

This commit is contained in:
Klaas van Schelven
2024-04-15 13:44:14 +02:00
parent 26aac0ca2c
commit 6b23b03a82
6 changed files with 82 additions and 31 deletions

View File

@@ -0,0 +1,7 @@
"use strict";
function makeCommentEditable(element) {
const balloon = element.closest(".js-balloon");
balloon.querySelector(".js-comment-editable").classList.remove("hidden");
balloon.querySelector(".js-comment-plain").classList.add("hidden");
}