First front-end prototype
This commit is contained in:
11
scripts/mail.js
Normal file
11
scripts/mail.js
Normal file
@ -0,0 +1,11 @@
|
||||
jQuery(document).ready(function($) {
|
||||
|
||||
// a n t i s p a m (hopefully)
|
||||
$('a.mail').on('click', function() {
|
||||
var href = $(this).attr('href');
|
||||
var a1 = "adres" ; var a2 = "se em"; var a3 = "ail";
|
||||
var goodMail = a1 + a2 + a3;
|
||||
$(this).attr('href', href.replace('badmail', goodMail));
|
||||
$(this).html(goodMail);
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user