rename valid_email to validate_email (#13103)

This commit is contained in:
Ameya Shenoy 2018-02-27 12:59:12 +05:30 committed by Faris Ansari
parent c6e2d750bb
commit 3ee22f0137

View File

@ -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);