瀏覽代碼

Hide the deny button on mandatory cookie for alignement

Amauri CHAMPEAUX 4 年之前
父節點
當前提交
1233699846
共有 1 個文件被更改,包括 3 次插入0 次删除
  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>';