diff options
| author | 2021-04-06 16:26:17 -0400 | |
|---|---|---|
| committer | 2021-04-06 16:26:17 -0400 | |
| commit | 7704409634c1e4fe1b8f28d810d85affbe7d89bc (patch) | |
| tree | d481ae9d8a8a2e82a80765b25b516f8a216e15b6 /source/features/sync-pr-commit-title.tsx | |
| parent | a94b69550dde2e9a75001470dc75d17e6cf50401 (diff) | |
| download | refined-github-7704409634c1e4fe1b8f28d810d85affbe7d89bc.tar.gz refined-github-7704409634c1e4fe1b8f28d810d85affbe7d89bc.tar.zst refined-github-7704409634c1e4fe1b8f28d810d85affbe7d89bc.zip | |
Fix backticks conflict in `sync-pr-commit-title` (#4203)
Diffstat (limited to 'source/features/sync-pr-commit-title.tsx')
| -rw-r--r-- | source/features/sync-pr-commit-title.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/sync-pr-commit-title.tsx b/source/features/sync-pr-commit-title.tsx index 8adb6c0c..c2781443 100644 --- a/source/features/sync-pr-commit-title.tsx +++ b/source/features/sync-pr-commit-title.tsx @@ -18,7 +18,7 @@ function getCommitTitleField(): HTMLInputElement | undefined { } function createCommitTitle(): string { - const prTitle = select('.js-issue-title')!.textContent!.trim(); + const prTitle = select(prTitleFieldSelector)!.value.trim(); return `${prTitle} (#${getConversationNumber()!})`; } |
