From 8b287f73bab8e11fb9bca57dfd108918095a5e1b Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Mon, 11 Nov 2024 16:12:07 +0300 Subject: [PATCH] Fix spellcheck postload --- apps/spreadsheeteditor/main/app/controller/Spellcheck.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/spreadsheeteditor/main/app/controller/Spellcheck.js b/apps/spreadsheeteditor/main/app/controller/Spellcheck.js index 0e5202b19d..b2ec34d0df 100644 --- a/apps/spreadsheeteditor/main/app/controller/Spellcheck.js +++ b/apps/spreadsheeteditor/main/app/controller/Spellcheck.js @@ -258,7 +258,7 @@ define([ }, onSpellCheckVariantsFound: function (property) { - if (property===null && this._currentSpellObj === property && !(this.panelSpellcheck && this.panelSpellcheck.isVisible())) + if (!this.panelSpellcheck || property===null && this._currentSpellObj === property && !this.panelSpellcheck.isVisible()) return; this._currentSpellObj = property;