Display slide in form

[MAILPOET-2742]
This commit is contained in:
Pavel Dohnal
2020-04-14 11:33:42 +02:00
committed by Veljko V
parent 3aeedd8eda
commit c0fd647f34
3 changed files with 27 additions and 3 deletions

View File

@@ -76,7 +76,7 @@ jQuery(($) => {
closeForm(formDiv);
});
$('div.mailpoet_form_fixed_bar').each((index, element) => {
$('div.mailpoet_form_fixed_bar, div.mailpoet_form_slide_in').each((index, element) => {
const cookieValue = Cookies.get('popup_form_dismissed');
if (cookieValue === '1') return;
const formDiv = $(element);