summaryrefslogtreecommitdiff
path: root/source/features/branch-buttons.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/branch-buttons.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/branch-buttons.tsx')
-rw-r--r--source/features/branch-buttons.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/branch-buttons.tsx b/source/features/branch-buttons.tsx
index 88c0db72..3d0ec502 100644
--- a/source/features/branch-buttons.tsx
+++ b/source/features/branch-buttons.tsx
@@ -12,7 +12,7 @@ import {getRepoURL, getOwnerAndRepo} from '../libs/utils';
async function getTagLink() {
const tags = select
- .all<HTMLElement>('.branch-select-menu .select-menu-list:last-child .select-menu-item')
+ .all('.branch-select-menu .select-menu-list:last-child .select-menu-item')
.map(element => element.dataset.name);
if (tags.length === 0) {