summaryrefslogtreecommitdiff
path: root/source/features/delete-fork-link.tsx
diff options
context:
space:
mode:
authorGravatar Federico Brigante <github@bfred.it> 2019-02-13 14:23:03 +0800
committerGravatar Federico Brigante <github@bfred.it> 2019-02-13 14:23:03 +0800
commit7af18883aa400ab463d0c121be6fcf84c1cba142 (patch)
treecc1764cb4ee32e78fe0c7c8a6740514d8d97bd9f /source/features/delete-fork-link.tsx
parent38b53105f8ff8356140e80b49a7a85ca2e5589a2 (diff)
downloadrefined-github-7af18883aa400ab463d0c121be6fcf84c1cba142.tar.gz
refined-github-7af18883aa400ab463d0c121be6fcf84c1cba142.tar.zst
refined-github-7af18883aa400ab463d0c121be6fcf84c1cba142.zip
Meta: Simplify select-dom usage
Thanks to https://github.com/bfred-it/select-dom/pull/5
Diffstat (limited to 'source/features/delete-fork-link.tsx')
-rw-r--r--source/features/delete-fork-link.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/delete-fork-link.tsx b/source/features/delete-fork-link.tsx
index 190141d6..e66f6d58 100644
--- a/source/features/delete-fork-link.tsx
+++ b/source/features/delete-fork-link.tsx
@@ -4,7 +4,7 @@ import features from '../libs/features';
import {getRepoURL} from '../libs/utils';
function init() {
- const currentBranch = select<HTMLElement>('#partial-pull-merging .merge-branch-description .commit-ref');
+ const currentBranch = select('#partial-pull-merging .merge-branch-description .commit-ref');
if (!currentBranch) {
return false;
}