mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
Merge pull request #2074 from webzwo0i/fix-disconnect-on-new-changes-in-padinitialization
don't call ace_getInInternationalComposition if editor is not fully load...
This commit is contained in:
commit
af50001769
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