Merge pull request #184 from threefoldfoundation/development_link_fixes

link target hotfix
This commit is contained in:
timurgordon
2022-09-12 15:25:06 +03:00
committed by GitHub

View File

@@ -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])
}
}
</script>
<!-- End Twitter universal website tag code -->