Fix spellcheck postload

This commit is contained in:
Julia Radzhabova
2024-11-11 16:12:07 +03:00
parent e31d337584
commit 8b287f73ba

View File

@ -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;