diff --git a/poker-paf/config.php b/poker-paf/config.php index 96ec565..48c0a9f 100644 --- a/poker-paf/config.php +++ b/poker-paf/config.php @@ -27,7 +27,7 @@ require_once 'db.php';
- +

1

@@ -47,9 +47,11 @@ require_once 'db.php'; // 2. On crée une nouvelle ligne const newRow = document.createElement('div'); newRow.className = 'player-row'; + // 3. On met le HTML dedans (avec le bouton supprimer intégré) newRow.innerHTML = ` +

${container.children.length + 1}:

`;