Finished implementing notification settings for sound and strangers
This commit is contained in:
parent
4cd2302bc9
commit
ae8d1fc5ea
4 changed files with 55 additions and 8 deletions
|
@ -17,7 +17,13 @@ fetch('/config/get/mail', {
|
|||
if (mailSettings.notificationSetting === false){
|
||||
document.getElementById('notificationSetting').checked = false
|
||||
}
|
||||
if (mailSettings.notificationSound === false){
|
||||
document.getElementById('notificationSound').checked = false
|
||||
}
|
||||
if (typeof mailSettings.signature != undefined && mailSettings.signature != null && mailSettings.signature != ""){
|
||||
document.getElementById('mailSignatureSetting').value = mailSettings.signature
|
||||
}
|
||||
if (mailSettings.strangersNotification == false){
|
||||
document.getElementById('strangersNotification').checked = false
|
||||
}
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue