mirror of https://github.com/dani/vroom.git
Fix invitation field missing when notification is set
This commit is contained in:
parent
2decea27e7
commit
f80463cfd7
|
@ -415,10 +415,10 @@ function getRoomInfo(cb){
|
||||||
});
|
});
|
||||||
// Now, remove the first one if the list is not empty
|
// Now, remove the first one if the list is not empty
|
||||||
if (Object.keys(data.notif).length > 0){
|
if (Object.keys(data.notif).length > 0){
|
||||||
$('.email-list').find('.email-entry:first').remove();
|
$('#email-list-notification').find('.email-entry:first').remove();
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
$('.email-list').find('.email-entry:first').find('input:first').val('');
|
$('#email-list-notification').find('.email-entry:first').find('input:first').val('');
|
||||||
}
|
}
|
||||||
adjustAddRemoveEmailButtons();
|
adjustAddRemoveEmailButtons();
|
||||||
// Update config switches
|
// Update config switches
|
||||||
|
|
Loading…
Reference in New Issue