diff options
author | 2020-04-03 19:09:49 +0200 | |
---|---|---|
committer | 2020-04-03 19:09:49 +0200 | |
commit | 45ab67ec7f1675cc29182a993688e7a45fa429bc (patch) | |
tree | 5c364a98f368debf3b8adfdf20283803392bd84d /source/features/cycle-lists-with-keyboard-shortcuts.tsx | |
parent | 38b6947ff6b6b5b882f4f6181a9a624a894ae147 (diff) | |
download | refined-github-45ab67ec7f1675cc29182a993688e7a45fa429bc.tar.gz refined-github-45ab67ec7f1675cc29182a993688e7a45fa429bc.tar.zst refined-github-45ab67ec7f1675cc29182a993688e7a45fa429bc.zip |
Allow multiple loaders in a single `features.add` (#2925)
Diffstat (limited to 'source/features/cycle-lists-with-keyboard-shortcuts.tsx')
-rw-r--r-- | source/features/cycle-lists-with-keyboard-shortcuts.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/features/cycle-lists-with-keyboard-shortcuts.tsx b/source/features/cycle-lists-with-keyboard-shortcuts.tsx index a0283167..c7943a22 100644 --- a/source/features/cycle-lists-with-keyboard-shortcuts.tsx +++ b/source/features/cycle-lists-with-keyboard-shortcuts.tsx @@ -53,12 +53,13 @@ function init(): void { features.add({ id: __featureName__, description: 'Allows the `↑` and `↓` keys to cycle "popover lists" (labels, milestones, etc).', - screenshot: 'https://user-images.githubusercontent.com/37769974/59158786-6fd2c400-8add-11e9-9db1-db80186fa6ea.gif', - load: features.onAjaxedPages, + screenshot: 'https://user-images.githubusercontent.com/37769974/59158786-6fd2c400-8add-11e9-9db1-db80186fa6ea.gif' +}, { include: [ features.isPRConversation, features.isIssue, features.isCompare ], + load: features.onAjaxedPages, init }); |