From 3c9f8feec1c8cff7de25f6fe57dbf6b523f7a022 Mon Sep 17 00:00:00 2001 From: timurgordon Date: Mon, 12 Sep 2022 15:23:27 +0300 Subject: [PATCH] link target hotfix --- templates/_default/base.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/templates/_default/base.html b/templates/_default/base.html index efbae21eb..6d789147e 100644 --- a/templates/_default/base.html +++ b/templates/_default/base.html @@ -34,11 +34,10 @@ '127.0.0.1' ] for (var i = 0, linksLength = links.length; i < linksLength; i++) { - if (internal_hosts.includes(links[i].hostname)) { + if (!internal_hosts.includes(links[i].hostname)) { links[i].target = '_blank'; console.log(links[i]) } - }