diff --git a/changedetectionio/static/js/watch-settings.js b/changedetectionio/static/js/watch-settings.js index 8af98fb9..249f2e4c 100644 --- a/changedetectionio/static/js/watch-settings.js +++ b/changedetectionio/static/js/watch-settings.js @@ -29,12 +29,14 @@ $(document).ready(function () { function toggle_default_notifications() { var n=$('#notification_urls, #notification_title, #notification_body, #notification_format'); if ($('#notification_use_default').is(':checked')) { + $('#notification-field-group').fadeOut(); $(n).each(function (e) { - $(this).attr('readonly', true).css('opacity',0.5); + $(this).attr('readonly', true); }); } else { + $('#notification-field-group').show(); $(n).each(function (e) { - $(this).attr('readonly', false).css('opacity',1); + $(this).attr('readonly', false); }); } } diff --git a/changedetectionio/templates/edit.html b/changedetectionio/templates/edit.html index e41f33f9..47cb7815 100644 --- a/changedetectionio/templates/edit.html +++ b/changedetectionio/templates/edit.html @@ -136,10 +136,10 @@ User-Agent: wonderbra 1.0") }}
-
-
- {{ render_checkbox_field(form.notification_use_default) }} -
+
+ {{ render_checkbox_field(form.notification_use_default) }} +
+
{{ render_common_settings_form(form, current_base_url, emailprefix) }}