22 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
22 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
24 */ |
24 */ |
25 |
25 |
26 /** |
26 /** |
27 * Replaces the formatted comment text with an text area. |
27 * Replaces the formatted comment text with a text area. |
28 * |
28 * |
29 * @param {number} id the ID of the comment |
29 * @param {number} id the ID of the comment |
30 */ |
30 */ |
31 function showCommentEditor(id) { |
31 function showCommentEditor(id) { |
32 const editor = document.getElementById(`comment-editor-${id}`) |
32 const editor = document.getElementById(`comment-editor-${id}`) |