[BUGFIX] Les cookies obligatoires sont toujours en bouton avec la configuration showDetailsOnClick
This commit is contained in:
parent
a303bbeb19
commit
e356fc7f7e
|
|
@ -359,7 +359,11 @@ var tarteaucitron = {
|
|||
if (tarteaucitron.parameters.mandatory == true) {
|
||||
html += '<li id="tarteaucitronServicesTitle_mandatory">';
|
||||
html += '<div class="tarteaucitronTitle">';
|
||||
if(tarteaucitron.parameters.showDetailsOnClick){
|
||||
html += ' <button type="button" tabindex="-1"><span class="tarteaucitronPlus" aria-hidden="true"></span> ' + tarteaucitron.lang.mandatoryTitle + '</button>';
|
||||
}else{
|
||||
html += ' <span>' + tarteaucitron.lang.mandatoryTitle + '</span>';
|
||||
}
|
||||
html += '</div>';
|
||||
html += '<ul id="tarteaucitronServices_mandatory">';
|
||||
html += '<li class="tarteaucitronLine">';
|
||||
|
|
|
|||
Loading…
Reference in New Issue