diff --git a/frontend/index.html b/frontend/index.html index 5c3c30b..0bf42ad 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -448,6 +448,7 @@ function bootCodeMirror(){ }; ED_IS_MONACO=false; restoreCode(CUR_CONV); + applyLangFor(CUR_COURSE||'common'); } function bootMonaco(){ MONACO_LIB = window.monaco; @@ -474,6 +475,7 @@ function bootMonaco(){ ED_IS_MONACO=true; registerLsp(ed); restoreCode(CUR_CONV); + applyLangFor(CUR_COURSE||'common'); } function onLangChange(){ CUR_LANG=document.getElementById('codeLang').value;