Skip to content

Commit

Permalink
Make use of global variable mor resilient
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Flor committed Mar 19, 2019
1 parent d980463 commit 239980b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Resources/Public/Scripts/nwt.mailobfuscation.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,6 @@ function linkTo_UnCryptMailto(s, offset) {
location.href = 'mailto:' + decryptString(s, offset);
}

global.linkTo_UnCryptMailto = linkTo_UnCryptMailto;
if (typeof global !== 'undefined') {
global.linkTo_UnCryptMailto = linkTo_UnCryptMailto;
}

0 comments on commit 239980b

Please sign in to comment.