From e84276e1f586927ccab854f1444059b6746a51d2 Mon Sep 17 00:00:00 2001 From: Sebastian Serth Date: Tue, 14 Dec 2021 23:17:55 +0100 Subject: [PATCH] Allow ACE resizing with different theme Fixes CODEOCEAN-6E --- app/assets/javascripts/editor/editor.js.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/editor/editor.js.erb b/app/assets/javascripts/editor/editor.js.erb index 51d7f4e8..72367214 100644 --- a/app/assets/javascripts/editor/editor.js.erb +++ b/app/assets/javascripts/editor/editor.js.erb @@ -171,7 +171,7 @@ var CodeOceanEditor = { this.active_frame = frame; frame.show(); - this.resizeParentOfAceEditor(frame.find('.ace_editor.ace-tm')); + this.resizeParentOfAceEditor(frame.find('.ace_editor')); }, getProgressBarClass: function (percentage) {