Commit 382c00d2 authored by Sylvain Coulange's avatar Sylvain Coulange
Browse files

debud checkWord fr

parent d2ee59d2
...@@ -1158,7 +1158,7 @@ async function reqWiki(word,phono,lang,listSpans,fin) { ...@@ -1158,7 +1158,7 @@ async function reqWiki(word,phono,lang,listSpans,fin) {
if (el.classList[0]=="carte" || el.classList[0]=="carteZh") { if (el.classList[0]=="carte" || el.classList[0]=="carteZh") {
el.classList.remove("FBortho"); el.classList.remove("FBortho");
el.classList.remove("FBphonoCarte"); el.classList.remove("FBphonoCarte");
if (!data.rep.w) el.classList.add("FBortho"); if (!data.rep.w && !el.classList.contains('carte')) el.classList.add("FBortho");
if (!data.rep.t) el.classList.add("FBphonoCarte"); if (!data.rep.t) el.classList.add("FBphonoCarte");
} else { } else {
el.classList.remove("FBortho"); el.classList.remove("FBortho");
......
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