From d23cdb333cd2aa8f8eb100282f1d70cf5dee473d Mon Sep 17 00:00:00 2001 From: ansuz Date: Wed, 1 Jun 2022 16:42:10 +0530 Subject: [PATCH] hide the code preview button when in present mode --- www/code/inner.js | 1 + 1 file changed, 1 insertion(+) diff --git a/www/code/inner.js b/www/code/inner.js index 4f6c0308e..1f436a03f 100644 --- a/www/code/inner.js +++ b/www/code/inner.js @@ -235,6 +235,7 @@ define([ $codeMirrorContainer.removeClass('cp-app-code-fullpage'); if (isPresentMode) { $editorContainer.addClass('cp-app-code-present'); + $previewButton.hide(); } } });