From 80318a0e0fea38a2c7593cfd733f58db3f4070bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Bardon?= Date: Sat, 7 Nov 2020 15:19:51 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20tazzon/dactylotest#33=20Ajoute=20la=20lig?= =?UTF-8?q?ne=20=C3=A0=20recommancer=20=C3=A0=20la=20fin=20du=20tableau=20?= =?UTF-8?q?compatible=20MacOS=20apr=C3=A8s=203=20erreurs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bepodactyl/js/fonctions_texte.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bepodactyl/js/fonctions_texte.js b/bepodactyl/js/fonctions_texte.js index 9022f01..8a5f620 100644 --- a/bepodactyl/js/fonctions_texte.js +++ b/bepodactyl/js/fonctions_texte.js @@ -111,8 +111,10 @@ function ligne_suivante(reload) } else if (recommencer == true && nb_recom >= (nb_tentatives_recom-1) ) { - if (le_texte[l-1]) - le_texte[le_texte.length] = le_texte[l-1]; + if (le_texte[l-1]) { + le_texte[le_texte.length] = le_texte[l - 1]; + le_texte_alt[le_texte_alt.length] = le_texte_alt[l-1]; + } nb_recom = 0; } //else if (recommencer == false && nb_recom < (nb_tentatives_recom-1))