From 7cf13a29e405c9851849996f2a35b042f31e53fd Mon Sep 17 00:00:00 2001 From: Antoine M Date: Mon, 13 May 2024 10:24:08 +0200 Subject: [PATCH] renaming block noAnswers to partnersOtherServices --- resources/js/single-conseil.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/js/single-conseil.js b/resources/js/single-conseil.js index df8a937..3998cc8 100644 --- a/resources/js/single-conseil.js +++ b/resources/js/single-conseil.js @@ -63,14 +63,14 @@ export default function singleConseil() { const vocabulaireSummaryBlock = document.querySelector('.homegrade-blocks-vocabulaire-summary'); const plusLoinBlock = document.querySelector('#aller-plus-loin'); const helpHomegradeBlock = document.querySelector('#homegrade-vous-aide'); - const noAnswers = document.querySelector('#pas-de-reponses'); + const partnersOtherServices = document.querySelector('#partenaires-autres-services'); let allBlocks = []; if (vocabulaireSummaryBlock) allBlocks.push(vocabulaireSummaryBlock); if (plusLoinBlock) allBlocks.push(plusLoinBlock); if (helpHomegradeBlock) allBlocks.push(helpHomegradeBlock); - if (noAnswers) allBlocks.push(noAnswers); + if (partnersOtherServices) allBlocks.push(partnersOtherServices); if (questionsContainerBlocks.length > 0) allBlocks = [...allBlocks, ...questionsContainerBlocks]; if (chapitresThematiques.length > 0) allBlocks = [...allBlocks, ...chapitresThematiques];