diff options
author | 박상철 <53574961+sangcheol12@users.noreply.github.com> | 2024-10-23 11:48:04 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-23 10:48:04 +0800 |
commit | 620f19610ef747412a9e4265c6b20fa560663f17 (patch) | |
tree | cac377ce438994d260b98f332f6700f77eac4661 /web_src/js/features/repo-release.ts | |
parent | a264c46fb04112c5ec2c1b2acd523a2e4450da40 (diff) | |
download | gitea-620f19610ef747412a9e4265c6b20fa560663f17.tar.gz gitea-620f19610ef747412a9e4265c6b20fa560663f17.zip |
Prevent from submitting issue/comment on uploading (#32263)
fix #32262
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'web_src/js/features/repo-release.ts')
-rw-r--r-- | web_src/js/features/repo-release.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/js/features/repo-release.ts b/web_src/js/features/repo-release.ts index 2928376c7f..7589c77136 100644 --- a/web_src/js/features/repo-release.ts +++ b/web_src/js/features/repo-release.ts @@ -50,7 +50,7 @@ function initTagNameEditor() { } function initRepoReleaseEditor() { - const editor = document.querySelector('.repository.new.release .combo-markdown-editor'); + const editor = document.querySelector<HTMLElement>('.repository.new.release .combo-markdown-editor'); if (!editor) { return; } |