summaryrefslogtreecommitdiff
path: root/source/features/hide-navigation-hover-highlight.tsx
diff options
context:
space:
mode:
authorGravatar Federico Brigante <opensource@bfred.it> 2020-04-03 19:09:49 +0200
committerGravatar GitHub <noreply@github.com> 2020-04-03 19:09:49 +0200
commit45ab67ec7f1675cc29182a993688e7a45fa429bc (patch)
tree5c364a98f368debf3b8adfdf20283803392bd84d /source/features/hide-navigation-hover-highlight.tsx
parent38b6947ff6b6b5b882f4f6181a9a624a894ae147 (diff)
downloadrefined-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/hide-navigation-hover-highlight.tsx')
-rw-r--r--source/features/hide-navigation-hover-highlight.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/features/hide-navigation-hover-highlight.tsx b/source/features/hide-navigation-hover-highlight.tsx
index effbe37d..8e40f4bd 100644
--- a/source/features/hide-navigation-hover-highlight.tsx
+++ b/source/features/hide-navigation-hover-highlight.tsx
@@ -13,6 +13,8 @@ function init(): void {
features.add({
id: __featureName__,
description: 'Removes the file hover effect in the repo file browser. Some lists like notifications, file lists, and issue lists, are highlighted as you move the mouse over them. This highlight is useful when navigating via the keyboard (j/k), but annoying when just moving the mouse around.',
- screenshot: false,
+ screenshot: false
+}, {
+ load: features.onDocumentStart,
init
});