0
0
mirror of https://codeberg.org/crimeflare/cloudflare-tor synced 2024-11-13 12:52:46 +00:00

error fixed

This commit is contained in:
smege1001 2020-07-31 18:25:20 +01:00
parent 29485e3b1f
commit 9077c0a7e6

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
if (link.getElementsByClassName("__cf_email__")) {
if (link.getElementsByClassName("__cf_email__").length < 0) {
var linkChild = link.getElementsByClassName("__cf_email__")[0];
linkChild.innerText = decodedEmail;