diff options
| author | ILikePlayingGames <22475143+ILikePlayingGames@users.noreply.github.com> | 2023-12-22 03:33:59 -0500 |
|---|---|---|
| committer | ILikePlayingGames <22475143+ILikePlayingGames@users.noreply.github.com> | 2023-12-22 03:33:59 -0500 |
| commit | a88d82595f1afc50ee1a2a1b7044a8b33d06f753 (patch) | |
| tree | 906f14ec0655c18588a184bfa4dbd203caf6ccf2 | |
| parent | 0a30bdc024931e18ccf282845c1631881e53a90f (diff) | |
| download | SkyBlockModWiki-a88d82595f1afc50ee1a2a1b7044a8b33d06f753.tar.gz SkyBlockModWiki-a88d82595f1afc50ee1a2a1b7044a8b33d06f753.tar.bz2 SkyBlockModWiki-a88d82595f1afc50ee1a2a1b7044a8b33d06f753.zip | |
Fix open-in-new-tab.js not working with instant navigation
| -rw-r--r-- | docs/js/open-in-new-tab.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/docs/js/open-in-new-tab.js b/docs/js/open-in-new-tab.js index 643cf51..667de75 100644 --- a/docs/js/open-in-new-tab.js +++ b/docs/js/open-in-new-tab.js @@ -1,4 +1,4 @@ -(function (){ +document$.subscribe(function() { const IGNORED_PATHS = [] for (const ignoredPath of IGNORED_PATHS) { @@ -14,6 +14,4 @@ link.target = "_blank"; } } - - console.debug(`[Open in New Tab] Changed external links to open in new tab.`); -})();
\ No newline at end of file +})
\ No newline at end of file |
