diff options
Diffstat (limited to 'source/features/use-first-commit-message-for-new-prs.tsx')
-rw-r--r-- | source/features/use-first-commit-message-for-new-prs.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/features/use-first-commit-message-for-new-prs.tsx b/source/features/use-first-commit-message-for-new-prs.tsx index ea04f0c5..372f35cc 100644 --- a/source/features/use-first-commit-message-for-new-prs.tsx +++ b/source/features/use-first-commit-message-for-new-prs.tsx @@ -15,11 +15,11 @@ async function init(): Promise<void | false> { const [prTitle, ...prMessage] = select('#commits_bucket [data-url$="compare/commit"] a[title]')!.title.split(/\n\n/); textFieldEdit.set( - select<HTMLInputElement>('.discussion-topic-header input')!, + select('.discussion-topic-header input')!, prTitle ); textFieldEdit.insert( - select<HTMLTextAreaElement>('#new_pull_request textArea[aria-label="Comment body"]')!, + select('#new_pull_request textarea[aria-label="Comment body"]')!, prMessage.join('\n\n') ); } |