Skip to content

Commit 7f0292a

Browse files
committed
Revert "fix: caricamento indirizzo email in invio mail"
This reverts commit 97a708a.
1 parent 97a708a commit 7f0292a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

mail.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,7 @@
220220
let num = 0;
221221
$(".destinatari").each(function(){
222222
addAutoComplete(this);
223-
if (num++ == 0 && emails.length > 0) {
224-
$(this).val(emails[0].value).trigger("change");
223+
if (num++==0) {
225224
$(this).prop("required", true);
226225
}
227226
});

0 commit comments

Comments
 (0)