Skip to content

Commit 8d74e01

Browse files
committed
Fix all callers
1 parent 33b8f8c commit 8d74e01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web_src/js/features/repo-diff.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ function initRepoDiffConversationForm() {
4747
e.preventDefault();
4848

4949
const $form = $(e.target);
50-
const $textArea = $form.find('textarea');
51-
if (!validateTextareaNonEmpty($textArea)) {
50+
const textArea = e.target.querySelector('textarea');
51+
if (!validateTextareaNonEmpty(textArea)) {
5252
return;
5353
}
5454

0 commit comments

Comments
 (0)