summaryrefslogtreecommitdiff
path: root/_site/links.js
diff options
context:
space:
mode:
Diffstat (limited to '_site/links.js')
-rw-r--r--_site/links.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/_site/links.js b/_site/links.js
index 5ce558e..f60c6a8 100644
--- a/_site/links.js
+++ b/_site/links.js
@@ -1,5 +1,5 @@
-(function() {
- for (const link of document.getElementsByTagName('a')) {
- if (/^(https?:)?\/\//.test(link.getAttribute('href'))) link.target = '_blank';
- }
+(function() {
+ for (const link of document.getElementsByTagName('a')) {
+ if (/^(https?:)?\/\//.test(link.getAttribute('href'))) link.target = '_blank';
+ }
})(); \ No newline at end of file