Skip to content

Commit 7f65e6f

Browse files
authored
Apply suggestion
Signed-off-by: wxiaoguang <[email protected]>
1 parent 7e55d4d commit 7f65e6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/features/repo-issue.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ function initIssueTemplateCommentEditors(commentForm: HTMLFormElement) {
543543
showElem(commentForm.querySelectorAll('.combo-editor-dropzone .form-field-real'));
544544
hideElem(commentForm.querySelectorAll('.combo-editor-dropzone .combo-markdown-editor'));
545545
queryElems(commentForm, '.combo-editor-dropzone .form-field-dropzone', (dropzoneContainer) => {
546-
const dropzoneEl = dropzoneContainer.closest<HTMLElement>('.combo-editor-dropzone')?.querySelector<HTMLElement>('.dropzone');
546+
const dropzoneEl = dropzoneContainer.closest<HTMLElement>('.combo-editor-dropzone').querySelector<HTMLElement>('.dropzone');
547547
const dzInstance = dropzoneEl?.dropzone;
548548

549549
if (dzInstance && dzInstance.files.length === 0) {

0 commit comments

Comments
 (0)