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 ae9687d commit b674b97Copy full SHA for b674b97
web_src/js/features/repo-diff.ts
@@ -39,7 +39,7 @@ function initRepoDiffFileViewToggle() {
39
function initRepoDiffConversationForm() {
40
addElemsEventListener<HTMLFormElement>(document, 'submit', '.conversation-holder form', async (form, e) => {
41
e.preventDefault();
42
- const textArea = form.querySelector('textarea');
+ const textArea = form.querySelector<HTMLTextAreaElement>('textarea');
43
if (!validateTextareaNonEmpty(textArea)) return;
44
if (form.classList.contains('is-loading')) return;
45
0 commit comments