From 642df29625682a850e32b41736b08eb99773109c Mon Sep 17 00:00:00 2001 From: Jonas Leder Date: Sat, 31 Jul 2021 20:40:50 +0200 Subject: [PATCH] remove debug log --- js/externalLinkHandler.js | 1 - 1 file changed, 1 deletion(-) diff --git a/js/externalLinkHandler.js b/js/externalLinkHandler.js index 8390b0c..36a7745 100644 --- a/js/externalLinkHandler.js +++ b/js/externalLinkHandler.js @@ -2,7 +2,6 @@ document.onreadystatechange = function () { document.querySelectorAll("a").forEach((element) => { let href = element.href; if(href.indexOf(location.hostname) === -1){ - console.log(href); element.target = "_blank"; } });