We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33b8f8c commit 8d74e01Copy full SHA for 8d74e01
web_src/js/features/repo-diff.js
@@ -47,8 +47,8 @@ function initRepoDiffConversationForm() {
47
e.preventDefault();
48
49
const $form = $(e.target);
50
- const $textArea = $form.find('textarea');
51
- if (!validateTextareaNonEmpty($textArea)) {
+ const textArea = e.target.querySelector('textarea');
+ if (!validateTextareaNonEmpty(textArea)) {
52
return;
53
}
54
0 commit comments