Hide manage subscription form success message on submit

[MAILPOET-1635]
This commit is contained in:
Rostislav Wolny
2020-07-30 13:44:24 +02:00
committed by Veljko V
parent 2a472ceb2a
commit fc07909760

View File

@@ -254,5 +254,10 @@ jQuery(($) => {
}); });
$('.mailpoet_captcha_update').on('click', updateCaptcha); $('.mailpoet_captcha_update').on('click', updateCaptcha);
// Manage subscription form
$('.mailpoet-manage-subscription').on('submit', () => {
$('.mailpoet-manage-subscription .mailpoet-submit-success').hide();
});
}); });
}); });