summaryrefslogtreecommitdiff
path: root/source/features/sync-pr-commit-title.tsx
diff options
context:
space:
mode:
authorGravatar yakov116 <16872793+yakov116@users.noreply.github.com> 2021-04-06 16:26:17 -0400
committerGravatar GitHub <noreply@github.com> 2021-04-06 16:26:17 -0400
commit7704409634c1e4fe1b8f28d810d85affbe7d89bc (patch)
treed481ae9d8a8a2e82a80765b25b516f8a216e15b6 /source/features/sync-pr-commit-title.tsx
parenta94b69550dde2e9a75001470dc75d17e6cf50401 (diff)
downloadrefined-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.tsx2
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()!})`;
}