Add loading animation to form submit button

[MAILPOET-1567]
This commit is contained in:
Rostislav Wolny
2019-01-22 09:55:24 +01:00
parent 9562d8704c
commit 0d433c7f7c
3 changed files with 55 additions and 1 deletions

View File

@ -14,7 +14,11 @@ class Submit extends Base {
$html .= 'data-automation-id="subscribe-submit-button" ';
$html .= '/></p>';
$html .= '/>';
$html .= '<span class="mailpoet_form_loading"><span class="mailpoet_bounce1"></span><span class="mailpoet_bounce2"></span><span class="mailpoet_bounce3"></span></span>';
$html .= '</p>';
return $html;
}