diff options
author | 2019-02-13 14:23:03 +0800 | |
---|---|---|
committer | 2019-02-13 14:23:03 +0800 | |
commit | 7af18883aa400ab463d0c121be6fcf84c1cba142 (patch) | |
tree | cc1764cb4ee32e78fe0c7c8a6740514d8d97bd9f /source/features/branch-buttons.tsx | |
parent | 38b53105f8ff8356140e80b49a7a85ca2e5589a2 (diff) | |
download | refined-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.tsx | 2 |
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) { |