Skip to content

Commit

Permalink
Fixes pasted email address
Browse files Browse the repository at this point in the history
Fixes issue #2382 in boston.gov-d8
  • Loading branch information
davidrkupton authored Mar 14, 2022
1 parent 370d3a4 commit d9c508e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions scripts/components/contact.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ var BostonContact = (function () {
form.addEventListener('submit', handleFormSubmit);

// Set the hidden fields
setBrowser(ev.target);
setURL(ev.target);
setToAddress(ev.target);
setBodyMessage(ev.target);
setSubject(ev.target);
setToken(ev.target);
setBrowser(ev.currentTarget);
setURL(ev.currentTarget);
setToAddress(ev.currentTarget);
setBodyMessage(ev.currentTarget);
setSubject(ev.currentTarget);
setToken(ev.currentTarget);
}
}

Expand Down

0 comments on commit d9c508e

Please sign in to comment.