kopia lustrzana https://github.com/dgtlmoon/changedetection.io
Fix "Add email" button in main global notification settings
rodzic
def74f27e6
commit
501183e66b
|
@ -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 );
|
||||
}
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
<a id="send-test-notification" class="pure-button button-secondary button-xsmall" style="font-size: 70%">Send test notification</a>
|
||||
{% if emailprefix %}
|
||||
<a id="add-email-helper" class="pure-button button-secondary button-xsmall" style="font-size: 70%">Add email</a>
|
||||
|
||||
{% endif %}
|
||||
</div>
|
||||
<div id="notification-customisation" class="pure-control-group">
|
||||
|
|
Ładowanie…
Reference in New Issue