rename valid_email to validate_email (#13103)
This commit is contained in:
parent
c6e2d750bb
commit
3ee22f0137
@ -12,7 +12,7 @@
|
||||
frappe.ready(function() {
|
||||
$("#footer-subscribe-button").click(function() {
|
||||
|
||||
if($("#footer-subscribe-email").val() && valid_email($("#footer-subscribe-email").val())) {
|
||||
if($("#footer-subscribe-email").val() && validate_email($("#footer-subscribe-email").val())) {
|
||||
$("#footer-subscribe-email").attr('disabled', true);
|
||||
$("#footer-subscribe-button").html("Sending...")
|
||||
.attr("disabled", true);
|
||||
|
Loading…
Reference in New Issue
Block a user