From 74a5abd2c507d828caafbf8463f6f2686af3b577 Mon Sep 17 00:00:00 2001 From: Ashish kumar Date: Tue, 21 Nov 2023 00:08:26 +0530 Subject: [PATCH] fixed missing closing parenthesis --- js/widgets/jseditor.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/widgets/jseditor.js b/js/widgets/jseditor.js index a80819e7c8..2f95c65a9f 100644 --- a/js/widgets/jseditor.js +++ b/js/widgets/jseditor.js @@ -75,12 +75,13 @@ class JSEditor { * Sets up CodeJar. * @returns {void} */ + _setup() { this.widgetWindow.onmaximize = () => { const editor = this.widgetWindow.getWidgetBody().childNodes[0]; editor.style.width = this.widgetWindow._maximized ? "100%" : "39rem"; editor.style.height = this.widgetWindow._maximized - ? `calc(100vh - ${64 + 33}px` + ? `calc(100vh - ${64 + 33}px)` : `${docById("overlayCanvas").height - 33 - 128 - 12}px`; };