diff options
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 }); |