Mark form editor tutorial as seen on init
[MAILPOET-4498]
This commit is contained in:
@ -13,7 +13,7 @@ export const displayTutorial = () => {
|
||||
MailPoet.Modal.popup({
|
||||
title: MailPoet.I18n.t('tutorialVideoTitle'),
|
||||
template: `<div class="mailpoet_drag_and_drop_tutorial"><video style="height:640px;" src="${window.config.dragDemoUrl}" controls autoplay></video></div>`,
|
||||
onCancel: () => {
|
||||
onInit: () => {
|
||||
MailPoet.Ajax.post({
|
||||
api_version: window.mailpoet_api_version,
|
||||
endpoint: 'user_flags',
|
||||
|
Reference in New Issue
Block a user