From e356fc7f7e8c13d3ba8942c118985955e791008d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dylan=20Delac=C3=B4te?= Date: Mon, 31 Jul 2023 15:55:58 +0200 Subject: [PATCH] [BUGFIX] Les cookies obligatoires sont toujours en bouton avec la configuration showDetailsOnClick --- tarteaucitron.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tarteaucitron.js b/tarteaucitron.js index 7d348d6..6cf300d 100644 --- a/tarteaucitron.js +++ b/tarteaucitron.js @@ -359,7 +359,11 @@ var tarteaucitron = { if (tarteaucitron.parameters.mandatory == true) { html += '
  • '; html += '
    '; - html += ' '; + if(tarteaucitron.parameters.showDetailsOnClick){ + html += ' '; + }else{ + html += ' ' + tarteaucitron.lang.mandatoryTitle + ''; + } html += '
    '; html += '