From e375fde56a3387d17af3c27144dfa15b1239e1fa Mon Sep 17 00:00:00 2001 From: Florent Date: Tue, 9 Nov 2021 12:36:57 +0100 Subject: Meta: Replace `__filebasename` with `import.meta.url` (#5058) Co-authored-by: Federico Brigante --- source/features/hide-navigation-hover-highlight.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/features/hide-navigation-hover-highlight.tsx') 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), }); -- cgit v1.2.3