Fixed typo that broke sending invites to an address

This commit is contained in:
Harvey Tindall 2020-05-21 22:10:52 +01:00
parent a65f193407
commit 61368c4505
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ $("form#inviteForm").submit(function() {
'<span class="spinner-border spinner-border-sm" role="status" aria-hidden="true" style="margin-right: 0.5rem;"></span>' +
'Loading...';
var send_object = $("form#inviteForm").serializeObject();
if (document.getElementById('sent_to_address') != null) {
if (document.getElementById('send_to_address') != null) {
if (document.getElementById('send_to_address_enabled').checked) {
send_object['email'] = document.getElementById('send_to_address').value;
}