summaryrefslogtreecommitdiff
path: root/source/features/quick-repo-deletion.tsx
diff options
context:
space:
mode:
authorGravatar Florent <cheap.glitch@gmail.com> 2021-12-19 12:35:54 +0100
committerGravatar GitHub <noreply@github.com> 2021-12-19 12:35:54 +0100
commitc22e88a2cc3eeb274d492206200ba4fc5ab2b8d4 (patch)
treeedb3d6b06b464da27c5222689c620da90e2cbeba /source/features/quick-repo-deletion.tsx
parent010fd94e9dbe7943c069bda3e1f9fd922dc32967 (diff)
downloadrefined-github-c22e88a2cc3eeb274d492206200ba4fc5ab2b8d4.tar.gz
refined-github-c22e88a2cc3eeb274d492206200ba4fc5ab2b8d4.tar.zst
refined-github-c22e88a2cc3eeb274d492206200ba4fc5ab2b8d4.zip
Fix `useful-forks` and `quick-repo-deletion` selectors (#5226)
Diffstat (limited to 'source/features/quick-repo-deletion.tsx')
-rw-r--r--source/features/quick-repo-deletion.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/features/quick-repo-deletion.tsx b/source/features/quick-repo-deletion.tsx
index 6f037e4e..9ff1dced 100644
--- a/source/features/quick-repo-deletion.tsx
+++ b/source/features/quick-repo-deletion.tsx
@@ -126,7 +126,8 @@ async function init(): Promise<void | false> {
!await elementReady('nav [data-content="Settings"]')
// Only if the repository hasn't been starred
- || looseParseInt(select('.starring-container .social-count')) > 0
+ // TODO [2022-06-01]: Remove `.social-count` (GHE)
+ || looseParseInt(select('.starring-container :is(.Counter, .social-count)')) > 0
) {
return false;
}