1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-05-11 05:55:29 +00:00

Fix PR comments UI (#18323)

Closes:
* Review comment cannot be edited #17768
* Changing PR Comment Resolved State Disables Further Changes #18315
This commit is contained in:
wxiaoguang
2022-01-19 01:28:38 +08:00
committed by GitHub
parent 11b4827791
commit 84f8ef3df6
7 changed files with 64 additions and 27 deletions

View File

@ -45,7 +45,7 @@ export function initRepoDiffConversationForm() {
});
$('.resolve-conversation').on('click', async function (e) {
$(document).on('click', '.resolve-conversation', async function (e) {
e.preventDefault();
const comment_id = $(this).data('comment-id');
const origin = $(this).data('origin');