From 159f8f381cb4e5bbe5ef57e26d784694ec6e9807 Mon Sep 17 00:00:00 2001 From: Johnny Almonte Date: Thu, 25 Jun 2020 11:08:27 -0400 Subject: [PATCH] fix: update comment for textareaUnloading --- app/assets/javascripts/views/editor/editor_view.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/views/editor/editor_view.ts b/app/assets/javascripts/views/editor/editor_view.ts index fec38617d..90dc822c4 100644 --- a/app/assets/javascripts/views/editor/editor_view.ts +++ b/app/assets/javascripts/views/editor/editor_view.ts @@ -77,7 +77,7 @@ type EditorState = { /** Setting to false then true will allow the current editor component-view to be destroyed * then re-initialized. Used when changing between component editors. */ editorComponentUnloading: boolean - /** Setting to false then true will allow the main content textarea to be destroyed + /** Setting to true then false will allow the main content textarea to be destroyed * then re-initialized. Used when reloading spellcheck status. */ textareaUnloading: boolean /** Fields that can be directly mutated by the template */