diff --git a/src/static/js/ace.js b/src/static/js/ace.js index d2bbb4847..addc412fc 100644 --- a/src/static/js/ace.js +++ b/src/static/js/ace.js @@ -124,6 +124,7 @@ function Ace2Editor() editor.getInInternationalComposition = function() { + if (!loaded) return false; return info.ace_getInInternationalComposition(); };