Expanding column w/ obfuscate javascript content doesn't work

Expanding column w/ obfuscate javascript content doesn't work

JaybirdJaybird Posts: 2Questions: 2Answers: 0
edited May 2017 in Free community support

One of my columns in my responsive table lists email addresses where I use a javascript to obfuscate the addresses:

/*<![CDATA[*/
document.write("<n uers=\"znvygb:gubznf.fpubcs@rurnyguerfrnepu.ab\">gubznf.fpubcs@rurnyguerfrnepu.ab</n>".replace(/[a-zA-Z]/g, function(c){return String.fromCharCode((c<="Z"?90:122)>=(c=c.charCodeAt(0)+13)?c:c-26);}));
/*]]>*/
} );

On smaller screens the table resizes as usual and the column with the email addresses get hidden, but when I try to expand it with the green '+' button it doesn't work, it only shows the email address in question. I use datatables without the obfuscate javascript on other pages of my site, and it works fine there.

See the table here: https://ehealthresearch.no/en/employees

Any ideas?

This discussion has been closed.