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