summaryrefslogtreecommitdiff
path: root/source/features/remove-upload-files-button.tsx
diff options
context:
space:
mode:
authorGravatar Federico Brigante <opensource@bfred.it> 2020-04-20 17:51:12 +0200
committerGravatar GitHub <noreply@github.com> 2020-04-20 17:51:12 +0200
commit65aeb52a3992aac49ab38ed4eb15de9bcae67359 (patch)
tree68fc9cb6f2aa565993e8b7a90dd0bdd26c165dae /source/features/remove-upload-files-button.tsx
parentd9f5db59949c1a974e8eeaa5d71ca371d12b1bbf (diff)
downloadrefined-github-65aeb52a3992aac49ab38ed4eb15de9bcae67359.tar.gz
refined-github-65aeb52a3992aac49ab38ed4eb15de9bcae67359.tar.zst
refined-github-65aeb52a3992aac49ab38ed4eb15de9bcae67359.zip
Meta: Make bundles smaller (#3020)
Diffstat (limited to 'source/features/remove-upload-files-button.tsx')
-rw-r--r--source/features/remove-upload-files-button.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/features/remove-upload-files-button.tsx b/source/features/remove-upload-files-button.tsx
index 21b89e42..bf5641fb 100644
--- a/source/features/remove-upload-files-button.tsx
+++ b/source/features/remove-upload-files-button.tsx
@@ -1,5 +1,6 @@
import select from 'select-dom';
import features from '../libs/features';
+import * as pageDetect from '../libs/page-detect';
import {getRepoURL} from '../libs/utils';
function init(): false | void {
@@ -17,7 +18,7 @@ features.add({
screenshot: false
}, {
include: [
- features.isRepoTree
+ pageDetect.isRepoTree
],
repeatOnAjax: false,
init