mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-21 03:43:02 +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);
|
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();
|
document.querySelector(`#${deleteButton.getAttribute('data-comment-id')}`)?.remove();
|
||||||
|
|
||||||
if (conversationHolder && !conversationHolder.querySelector('.comment')) {
|
if (conversationHolder && !conversationHolder.querySelector('.comment')) {
|
||||||
|
Loading…
Reference in New Issue
Block a user