From 66ce42e6e4b990865d4813ee0e05509ad03ce8fb Mon Sep 17 00:00:00 2001 From: troy Date: Sun, 8 Aug 2021 11:38:52 +0200 Subject: [PATCH] scopen --- mailto.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/mailto.js b/mailto.js index 626dba4..0ec3ed0 100644 --- a/mailto.js +++ b/mailto.js @@ -1,3 +1,6 @@ -mail = $('span.mailto').html(); -mail = mail.replace('no-thx-',''); -$('span.mailto').html(''+ mail +''); \ No newline at end of file +(function(){ + //TODO vanilla + var mail = $('span.mailto').html(); + mail = mail.replace('no-thx-',''); + $('span.mailto').html(''+ mail +''); +})(); \ No newline at end of file