Update rechercher.html

This commit is contained in:
√(noham)² 2023-04-07 23:24:34 +02:00 committed by GitHub
parent 5870660f81
commit 64277baa82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,7 @@
// Affichage des résultats sur la page HTML
function afficherResultats(resultat) {
const table = document.createElement('table');
table.innerHTML = '<tr><th>Edition</th><th>Code manuel</th><th>Nom du manuel</th><th>Nombre de pages</th><th>Code manuel prof</th></tr>';
table.innerHTML = '<tr><th>Edition</th><th>Code manuel</th><th>Nom du manuel</th><th>Nombre de pages</th><th></th></tr>';
for (let i = 0; i < resultat.length; i++) {
const ligne = document.createElement('tr');
for (let j = 4; j < 9; j++) {