mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-20 03:12:27 +00:00
Revert unnecessary changes
This commit is contained in:
parent
df456dd7f8
commit
fa5fc02cb8
@ -150,12 +150,6 @@ export function initRepoIssueCommentDelete() {
|
||||
counter.textContent = String(num);
|
||||
}
|
||||
|
||||
const json: Record<string, any> = await response.json();
|
||||
if (json.errorMessage) throw new Error(json.errorMessage);
|
||||
|
||||
if (json.deletedReviewCommentHashTag) {
|
||||
document.querySelector(`#${json.deletedReviewCommentHashTag}`)?.remove();
|
||||
}
|
||||
document.querySelector(`#${deleteButton.getAttribute('data-comment-id')}`)?.remove();
|
||||
|
||||
if (conversationHolder && !conversationHolder.querySelector('.comment')) {
|
||||
|
Loading…
Reference in New Issue
Block a user