Fix last form block detection
[MAILPOET-2926]
This commit is contained in:
committed by
Veljko V
parent
87b1b497ce
commit
0a22ba8b33
@@ -85,7 +85,7 @@ jQuery(($) => {
|
||||
|
||||
$(() => {
|
||||
$('.mailpoet_form').each((index, element) => {
|
||||
$(element).children('.mailpoet_paragraph').last().addClass('last');
|
||||
$(element).children('.mailpoet_paragraph, .mailpoet_form_image, .mailpoet_form_paragraph').last().addClass('last');
|
||||
});
|
||||
$('.mailpoet_form_close_icon').click((event) => {
|
||||
const closeIcon = $(event.target);
|
||||
|
Reference in New Issue
Block a user