From 9e9b73d9b499543f42e0fc72f8f12888c58c08aa Mon Sep 17 00:00:00 2001 From: Vladimir Filimon Date: Sun, 20 Aug 2017 02:01:43 +0200 Subject: [PATCH] fix #270, replaced editorElement with element according to the deprecaton message --- lib/views/repl-text-editor.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/views/repl-text-editor.coffee b/lib/views/repl-text-editor.coffee index 26c0b32..5e53fbb 100644 --- a/lib/views/repl-text-editor.coffee +++ b/lib/views/repl-text-editor.coffee @@ -111,7 +111,7 @@ class ReplTextEditor configureTextEditorBasics: ()-> # Add a class to the text editor so it can be styled - @textEditor.editorElement.className += " proto-repl-repl" + @textEditor.element.className += " proto-repl-repl" # Force the tab to have a title @textEditor.getTitle = -> TAB_TITLE