diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2022-01-04 00:53:53 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-03 17:53:53 +0100 |
commit | 48aab263d1d60612be05a67c46172b5a5a718dba (patch) | |
tree | bc4b21a8ad15c9debd94b460438ef6f3ee2ff95d /web_src/js/features/repo-diff.js | |
parent | 8eec403068ef22ba7316fbbbd9254a54847cf5fe (diff) | |
download | gitea-48aab263d1d60612be05a67c46172b5a5a718dba.tar.gz gitea-48aab263d1d60612be05a67c46172b5a5a718dba.zip |
Fix EasyMDE validation (#18161)
Diffstat (limited to 'web_src/js/features/repo-diff.js')
-rw-r--r-- | web_src/js/features/repo-diff.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/js/features/repo-diff.js b/web_src/js/features/repo-diff.js index d2502315b4..3378222ae1 100644 --- a/web_src/js/features/repo-diff.js +++ b/web_src/js/features/repo-diff.js @@ -27,7 +27,7 @@ export function initRepoDiffConversationForm() { const form = $(e.target); const $textArea = form.find('textarea'); - if (!validateTextareaNonEmpty(form, $textArea)) { + if (!validateTextareaNonEmpty($textArea)) { return; } |