aboutsummaryrefslogtreecommitdiff
path: root/docs/js
diff options
context:
space:
mode:
Diffstat (limited to 'docs/js')
-rw-r--r--docs/js/open-in-new-tab.js6
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