diff --git a/changedetectionio/static/js/notifications.js b/changedetectionio/static/js/notifications.js index d2eeb92c..9a4d0fb8 100644 --- a/changedetectionio/static/js/notifications.js +++ b/changedetectionio/static/js/notifications.js @@ -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 ); } diff --git a/changedetectionio/templates/_common_fields.jinja b/changedetectionio/templates/_common_fields.jinja index ea52f74e..30ada5c0 100644 --- a/changedetectionio/templates/_common_fields.jinja +++ b/changedetectionio/templates/_common_fields.jinja @@ -22,7 +22,6 @@ Send test notification {% if emailprefix %} Add email - {% endif %}