Fix js error when edit issue (#33384)
This commit is contained in:
parent
06ff9b6256
commit
7da8a01d39
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ async function tryOnEditContent(e: DOMEvent<MouseEvent>) {
|
|||
if (!clickTarget) return;
|
||||
|
||||
e.preventDefault();
|
||||
const segment = clickTarget.closest('.header').nextElementSibling;
|
||||
const segment = clickTarget.closest('.comment-header').nextElementSibling;
|
||||
const editContentZone = segment.querySelector('.edit-content-zone');
|
||||
const renderContent = segment.querySelector('.render-content');
|
||||
const rawContent = segment.querySelector('.raw-content');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue