diff --git a/scripts/main.js b/scripts/main.js index 76b6a09..ca37fe3 100644 --- a/scripts/main.js +++ b/scripts/main.js @@ -143,9 +143,11 @@ $(function () { /* Permet d'afficher la liste des citations/proverbes */ if(chemin === "/views/quote-list.php") { window.onload = $('.totalLengthQuote').html('Total de ' + quotes.length + ' citations.'); + let resultat = ""; for (index in quotes) { - $( ".quote-list" ).append('