Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

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

debug copier/coller couleur des mots echec et inconnu

parent 5dfdf0f1
......@@ -531,18 +531,19 @@ function getPopUp() {
//console.log('RESULT:',n[1],n[2]);
var newOutputSpan = "<span style='";
n[1] = n[1].split(" ");
if (n[1].includes("unstressed")) newOutputSpan += expFonte + expSizeBase + expNoBold;
else if (n[1].includes("schwa")) newOutputSpan += expFonte + expSizeSchwa + expNoBold;
else if (n[1].includes("stress1")) newOutputSpan += expFonte + expSizeStress1 + expBold;
else if (n[1].includes("stress2")) newOutputSpan += expFonte + expSizeStress2 + expBold;
else if (n[1].includes("phon_echec") || n[1].includes("phon_inconnu")) newOutputSpan += expFonte + expCoulBase + expSizeBase + expNoBold;
else {
if (boolBold) newOutputSpan += expFonte + expSizeBase + expBold;
else newOutputSpan += expFonte + expSizeBase + expNoBold;
}
// COULEURS
n[1] = n[1].split(" ");
var phonClass = "";
for (i=0; i<n[1].length; i++) {
if (n[1][i].match(/phon_.*/)) phonClass = n[1][i];
......
Markdown is supported
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