summaryrefslogtreecommitdiff
path: root/source/features/highlight-non-default-base-branch.tsx
diff options
context:
space:
mode:
authorGravatar Federico Brigante <me@fregante.com> 2021-10-04 13:40:49 +0200
committerGravatar GitHub <noreply@github.com> 2021-10-04 13:40:49 +0200
commitd3bc037b7b574b6bfa8f175ea35aed1b55e92bbb (patch)
tree2e18fd044945985ce72407db83aa930549cc0281 /source/features/highlight-non-default-base-branch.tsx
parentc1f3484bf9d6aaf9e991187b0bb06decf52cd30d (diff)
downloadrefined-github-d3bc037b7b574b6bfa8f175ea35aed1b55e92bbb.tar.gz
refined-github-d3bc037b7b574b6bfa8f175ea35aed1b55e92bbb.tar.zst
refined-github-d3bc037b7b574b6bfa8f175ea35aed1b55e92bbb.zip
Drop fallback code for old GitHub Enterprise versions (#4864)
Diffstat (limited to 'source/features/highlight-non-default-base-branch.tsx')
-rw-r--r--source/features/highlight-non-default-base-branch.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/highlight-non-default-base-branch.tsx b/source/features/highlight-non-default-base-branch.tsx
index 860bc224..edde3d57 100644
--- a/source/features/highlight-non-default-base-branch.tsx
+++ b/source/features/highlight-non-default-base-branch.tsx
@@ -56,7 +56,7 @@ async function init(): Promise<false | void> {
const branch = pr.baseRef && buildRepoURL(`tree/${pr.baseRefName}`);
- prLink.parentElement!.querySelector(':is(.text-small.color-text-secondary, .text-small.text-gray) .d-none.d-md-inline-flex')!.append(
+ prLink.parentElement!.querySelector('.text-small.color-text-secondary .d-none.d-md-inline-flex')!.append(
<span className="issue-meta-section ml-2">
<GitPullRequestIcon/>
{' To '}