Adjust drag & drop tutorial for new modal design

[MAILPOET-1510]
This commit is contained in:
Jan Jakeš
2019-01-17 11:01:11 +01:00
parent 4da9a2b6fa
commit 7e187f69bf
2 changed files with 2 additions and 5 deletions

View File

@@ -10,7 +10,8 @@ const displayTutorial = () => {
return;
}
MailPoet.Modal.popup({
template: `<div class="mailpoet_drag_and_drop_tutorial"><h2>${MailPoet.I18n.t('tutorialVideoTitle')}</h2><video style="height:640px;" src="${window.config.dragDemoUrl}" controls autoplay></video></div>`,
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: () => {
MailPoet.Ajax.post({
api_version: window.mailpoet_api_version,