diff options
author | 2019-08-31 01:26:28 +0700 | |
---|---|---|
committer | 2019-08-31 01:26:28 +0700 | |
commit | 8d0393542bd712d7bb7f93874118dedd07b62c7b (patch) | |
tree | 0a139195466ba76bf5abdd6cbb979e55dcf3322a /source/features/submit-review-as-single-comment.tsx | |
parent | 0ca864af6da9cac9f503e4abd0c58b60fbe1abc6 (diff) | |
download | refined-github-19.8.31.tar.gz refined-github-19.8.31.tar.zst refined-github-19.8.31.zip |
Update dependencies and lint (#2391)19.8.31
Diffstat (limited to 'source/features/submit-review-as-single-comment.tsx')
-rw-r--r-- | source/features/submit-review-as-single-comment.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/submit-review-as-single-comment.tsx b/source/features/submit-review-as-single-comment.tsx index 74b0cd45..32238e28 100644 --- a/source/features/submit-review-as-single-comment.tsx +++ b/source/features/submit-review-as-single-comment.tsx @@ -64,7 +64,7 @@ async function handleSubmitSingle(event: DelegateEvent): Promise<void> { // Use nearby comment box const comment = await getNewCommentField(commentContainer, lineBeingCommentedOn); const submitButton = select<HTMLButtonElement>('[name="single_comment"]', comment.form!)!; - const commentForm = comment.closest('.inline-comment-form-container') as HTMLElement; + const commentForm = comment.closest<HTMLElement>('.inline-comment-form-container')!; // Copy comment to new comment box insertText(comment.form!.elements['comment[body]'] as HTMLTextAreaElement, commentText); |