oops again

This commit is contained in:
smege1001 2020-07-31 19:03:51 +01:00
parent 5647f47d67
commit 84995d87f7
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ for (var linksIndex = 0; linksIndex < links.length; linksIndex++) {
link.href = "mailto:" + decodedEmail; //replace the stupid email protection with just a mailto link link.href = "mailto:" + decodedEmail; //replace the stupid email protection with just a mailto link
if (link.getElementsByClassName("__cf_email__").length < 0) { if (link.getElementsByClassName("__cf_email__").length > 0) {
var linkChild = link.getElementsByClassName("__cf_email__")[0]; var linkChild = link.getElementsByClassName("__cf_email__")[0];
linkChild.innerText = decodedEmail; linkChild.innerText = decodedEmail;