diff options
author | 2020-04-20 17:51:12 +0200 | |
---|---|---|
committer | 2020-04-20 17:51:12 +0200 | |
commit | 65aeb52a3992aac49ab38ed4eb15de9bcae67359 (patch) | |
tree | 68fc9cb6f2aa565993e8b7a90dd0bdd26c165dae /source/features/cycle-lists-with-keyboard-shortcuts.tsx | |
parent | d9f5db59949c1a974e8eeaa5d71ca371d12b1bbf (diff) | |
download | refined-github-65aeb52a3992aac49ab38ed4eb15de9bcae67359.tar.gz refined-github-65aeb52a3992aac49ab38ed4eb15de9bcae67359.tar.zst refined-github-65aeb52a3992aac49ab38ed4eb15de9bcae67359.zip |
Meta: Make bundles smaller (#3020)
Diffstat (limited to 'source/features/cycle-lists-with-keyboard-shortcuts.tsx')
-rw-r--r-- | source/features/cycle-lists-with-keyboard-shortcuts.tsx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/features/cycle-lists-with-keyboard-shortcuts.tsx b/source/features/cycle-lists-with-keyboard-shortcuts.tsx index 54134f94..5125eddb 100644 --- a/source/features/cycle-lists-with-keyboard-shortcuts.tsx +++ b/source/features/cycle-lists-with-keyboard-shortcuts.tsx @@ -1,6 +1,7 @@ import select from 'select-dom'; import delegate from 'delegate-it'; import features from '../libs/features'; +import * as pageDetect from '../libs/page-detect'; function init(): void { let selectableItems: HTMLElement[] = []; @@ -56,9 +57,9 @@ features.add({ screenshot: 'https://user-images.githubusercontent.com/37769974/59158786-6fd2c400-8add-11e9-9db1-db80186fa6ea.gif' }, { include: [ - features.isPRConversation, - features.isIssue, - features.isCompare + pageDetect.isPRConversation, + pageDetect.isIssue, + pageDetect.isCompare ], init }); |