Browse Source

Hide the deny button on mandatory cookie for alignement

Amauri CHAMPEAUX 4 years ago
parent
commit
1233699846
1 changed files with 3 additions and 0 deletions
  1. 3 0
      tarteaucitron.js

+ 3 - 0
tarteaucitron.js

@@ -342,6 +342,9 @@ var tarteaucitron = {
                    html += '       <button type="button" class="tarteaucitronAllow">';
                    html += '           &#10003; ' + tarteaucitron.lang.allow;
                    html += '       </button> ';
+                   html += '       <button type="button" class="tarteaucitronDeny" style="visibility:hidden">';
+                   html += '           &#10007; ' + tarteaucitron.lang.deny;
+                   html += '       </button> ';
                    html += '   </div>';
                    html += '</li>';
                    html += '</ul></li>';