mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
don't call ace_getInInternationalComposition if editor is not fully loaded
This commit is contained in:
parent
b6f354a2de
commit
3f31445abf
1 changed files with 1 additions and 0 deletions
|
@ -124,6 +124,7 @@ function Ace2Editor()
|
||||||
|
|
||||||
editor.getInInternationalComposition = function()
|
editor.getInInternationalComposition = function()
|
||||||
{
|
{
|
||||||
|
if (!loaded) return false;
|
||||||
return info.ace_getInInternationalComposition();
|
return info.ace_getInInternationalComposition();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue