diff --git a/data/static/admin.js b/data/static/admin.js index 8dc3736..6792b6c 100644 --- a/data/static/admin.js +++ b/data/static/admin.js @@ -170,7 +170,7 @@ $("form#inviteForm").submit(function() { '' + '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; }