2
0
mirror of https://github.com/Ionaru/easy-markdown-editor synced 2025-06-28 13:41:01 -06:00

undo some comment changes to make diff cleaner

This commit is contained in:
Steve 2021-03-15 20:15:39 -07:00
parent 8ed6cd699e
commit d76872f4ff

View File

@ -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);