From d76872f4ffc6ba38ce1707a941d7bec74e6af6c7 Mon Sep 17 00:00:00 2001 From: Steve Date: Mon, 15 Mar 2021 20:15:39 -0700 Subject: [PATCH] undo some comment changes to make diff cleaner --- src/js/easymde.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/js/easymde.js b/src/js/easymde.js index 3172faa..b85c203 100644 --- a/src/js/easymde.js +++ b/src/js/easymde.js @@ -935,11 +935,10 @@ function toggleSideBySide(editor, onlyCleanup) { wrapper.className = wrapper.className.replace(/\s*CodeMirror-sided\s*/g, ' '); } else { // open side-by-side, and setup noFullscreen classes as needed + // When the preview button is clicked for the first time, + // give some time for the transition from editor.css to fire and the view to slide from right to left, + // instead of just appearing. setTimeout(function () { - // When the preview button is clicked for the first time, - // give some time for the transition from editor.css to - // fire and the view to slide from right to left, - // instead of just appearing. if (!cm.getOption('fullScreen')) { if (editor.options.sideBySideFullscreen === false) { setupNoFullscreenClasses(true);