summaryrefslogtreecommitdiff
path: root/source/features/hide-navigation-hover-highlight.tsx
diff options
context:
space:
mode:
authorGravatar Florent <cheap.glitch@gmail.com> 2021-11-09 12:36:57 +0100
committerGravatar GitHub <noreply@github.com> 2021-11-09 12:36:57 +0100
commite375fde56a3387d17af3c27144dfa15b1239e1fa (patch)
treee8311b233321ef007d5b436a90698850eefd7e49 /source/features/hide-navigation-hover-highlight.tsx
parent1d47afba1f4a0e3f853cb61d424694c83daa7865 (diff)
downloadrefined-github-e375fde56a3387d17af3c27144dfa15b1239e1fa.tar.gz
refined-github-e375fde56a3387d17af3c27144dfa15b1239e1fa.tar.zst
refined-github-e375fde56a3387d17af3c27144dfa15b1239e1fa.zip
Meta: Replace `__filebasename` with `import.meta.url` (#5058)
Co-authored-by: Federico Brigante <me@fregante.com>
Diffstat (limited to 'source/features/hide-navigation-hover-highlight.tsx')
-rw-r--r--source/features/hide-navigation-hover-highlight.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/hide-navigation-hover-highlight.tsx b/source/features/hide-navigation-hover-highlight.tsx
index 8d6d2194..dcb72b13 100644
--- a/source/features/hide-navigation-hover-highlight.tsx
+++ b/source/features/hide-navigation-hover-highlight.tsx
@@ -12,7 +12,7 @@ function init(): void {
}, {once: true});
}
-void features.add(__filebasename, {
+void features.add(import.meta.url, {
awaitDomReady: false,
init: onetime(init),
});