From 5e56f10d67babf40936acc471baccb2c6bf51c19 Mon Sep 17 00:00:00 2001 From: Anthony Lenglet <36004334+AnthonyLenglet@users.noreply.github.com> Date: Mon, 23 Apr 2018 14:24:12 +0200 Subject: [PATCH] Fixed deprecation error --- lib/mjml-preview.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mjml-preview.js b/lib/mjml-preview.js index 60757f9..c14850f 100644 --- a/lib/mjml-preview.js +++ b/lib/mjml-preview.js @@ -62,7 +62,7 @@ export default { return view.render(currentEditor) } }) - .done(() => previousActivePane.activate()) + .then(() => previousActivePane.activate()) } },