LSformElement_mail : Fixed initialize JS code

This commit is contained in:
Benjamin Renard 2011-01-21 16:11:02 +01:00
parent 4e775aeee9
commit 39401e882b

View file

@ -17,7 +17,7 @@ var LSformElement_mail = new Class({
}
}, this);
el.getElements('a.LSformElement_mail').each(function(a) {
if (!input.hasClass('LSformElement_mail_disableMailSending')) {
if (!a.hasClass('LSformElement_mail_disableMailSending')) {
this.addBtnAfter.bind(this)(a);
}
}, this);