Commit fa9cda46 authored by Sylvain Coulange's avatar Sylvain Coulange
Browse files

debug init graphies lors de changement de langue

parent 6f41ef5b
......@@ -27,6 +27,7 @@ function selectLang(lang, p="default", f="default"){
document.getElementById('choixLang').value = lang;
var phonolist = document.getElementById('selectPanneau');
var fidellist = document.getElementById('selectFidel');
phonolist.innerHTML = '';
fidellist.innerHTML = '';
if (lang=="fr"){
......@@ -356,7 +357,9 @@ function selectFidel(f){
}
fidel = dicoFidels[f];
document.getElementById('selectFidel').value = f;
if (currentPhon && modeGraphies==1) recupPhon(currentPhon);
if (thisPageLang=="zh") initGraph();
if (thisPageLang!="zh" && document.getElementById('hanDiv')!=null) document.getElementById('hanDiv').innerHTML = "";
if (currentPhon && modeGraphies==1 && thisPageLang!="shy" && thisPageLang!="zh") recupPhon(currentPhon);
}
function interface(lang) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment