hide the code preview button when in present mode

master
ansuz 3 years ago
parent 663768e147
commit d23cdb333c

@ -235,6 +235,7 @@ define([
$codeMirrorContainer.removeClass('cp-app-code-fullpage'); $codeMirrorContainer.removeClass('cp-app-code-fullpage');
if (isPresentMode) { if (isPresentMode) {
$editorContainer.addClass('cp-app-code-present'); $editorContainer.addClass('cp-app-code-present');
$previewButton.hide();
} }
} }
}); });

Loading…
Cancel
Save