src/main/webapp/issue-editor.js

changeset 334
2696337baa3d
parent 263
aa22103809cd
equal deleted inserted replaced
333:124f605ec40a 334:2696337baa3d
32 const editor = document.getElementById(`comment-editor-${id}`) 32 const editor = document.getElementById(`comment-editor-${id}`)
33 const view = document.getElementById(`comment-view-${id}`) 33 const view = document.getElementById(`comment-view-${id}`)
34 editor.style.display='block' 34 editor.style.display='block'
35 view.style.display='none' 35 view.style.display='none'
36 } 36 }
37
38 function cancelCommentEditor(id) {
39 const editor = document.getElementById(`comment-editor-${id}`)
40 const view = document.getElementById(`comment-view-${id}`)
41 editor.style.display='none'
42 view.style.display='block'
43 }

mercurial