mirror of
https://github.com/hrfee/jellyfin-accounts.git
synced 2024-12-22 17:10:11 +00:00
Fixed typo that broke sending invites to an address
This commit is contained in:
parent
a65f193407
commit
61368c4505
@ -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>' +
|
'<span class="spinner-border spinner-border-sm" role="status" aria-hidden="true" style="margin-right: 0.5rem;"></span>' +
|
||||||
'Loading...';
|
'Loading...';
|
||||||
var send_object = $("form#inviteForm").serializeObject();
|
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) {
|
if (document.getElementById('send_to_address_enabled').checked) {
|
||||||
send_object['email'] = document.getElementById('send_to_address').value;
|
send_object['email'] = document.getElementById('send_to_address').value;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user