Fix "Add email" button in main global notification settings

This commit is contained in:
dgtlmoon
2022-04-22 10:51:52 +02:00
parent def74f27e6
commit 501183e66b
2 changed files with 1 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ $(document).ready(function() {
e.preventDefault();
email = prompt("Destination email");
if(email) {
var n = $("#notification_urls");
var n = $(".notification-urls");
var p=email_notification_prefix;
$(n).val( $.trim( $(n).val() )+"\n"+email_notification_prefix+email );
}