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

debug affichage text dans feedback serie

parent 4023ca1b
......@@ -420,7 +420,7 @@ function getBravo(mot) {
document.getElementById("bravo_text").innerHTML += "<span class='graphContours "+ phonographie[i][0] +"'>"+ phonographie[i][1] +"</span>"
}
} else {
if("graphieFin" in mot && mot["graphieFin"]!="undefined") {
if("graphieFin" in mot && !["undefined",""].includes(mot["graphieFin"])) {
document.getElementById("bravo_text").innerHTML = mot["graphieFin"]
} else {
document.getElementById("bravo_text").innerHTML = "Bravo !"
......
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