diff -r 124f605ec40a -r 2696337baa3d src/main/webapp/issue-editor.js --- a/src/main/webapp/issue-editor.js Sat Nov 09 10:08:10 2024 +0100 +++ b/src/main/webapp/issue-editor.js Sat Nov 09 10:54:57 2024 +0100 @@ -34,3 +34,10 @@ editor.style.display='block' view.style.display='none' } + +function cancelCommentEditor(id) { + const editor = document.getElementById(`comment-editor-${id}`) + const view = document.getElementById(`comment-view-${id}`) + editor.style.display='none' + view.style.display='block' +}