diff options
Diffstat (limited to 'source/features/linkify-branch-refs.tsx')
-rw-r--r-- | source/features/linkify-branch-refs.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/features/linkify-branch-refs.tsx b/source/features/linkify-branch-refs.tsx index 9a71134b..7451a7c9 100644 --- a/source/features/linkify-branch-refs.tsx +++ b/source/features/linkify-branch-refs.tsx @@ -17,7 +17,7 @@ function inPR() { // Find the URLs first, some elements don't have titles const urls = new Map<string, string>(); - for (const el of select.all<HTMLElement>('.commit-ref[title], .base-ref[title], .head-ref[title]')) { + for (const el of select.all('.commit-ref[title], .base-ref[title], .head-ref[title]')) { const [repo, branch] = el.title.split(':'); const branchName = el.textContent.trim(); urls.set( @@ -32,7 +32,7 @@ function inPR() { } } - for (const el of select.all<HTMLElement>('.commit-ref')) { + for (const el of select.all('.commit-ref')) { const branchName = el.textContent.trim(); if (branchName !== 'unknown repository') { |