瀏覽代碼

remove action on mandatory button

Mickael Couzinet 4 年之前
父節點
當前提交
b4fc687f2c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tarteaucitron.js

+ 1 - 1
tarteaucitron.js

@@ -330,7 +330,7 @@ var tarteaucitron = {
                 if (tarteaucitron.parameters.mandatory == true) {
                    html += '<li id="tarteaucitronServicesTitle_mandatory">';
                    html += '<div class="tarteaucitronTitle">';
-                   html += '   <button type="button">&nbsp; ' + tarteaucitron.lang.mandatoryTitle + '</button>';
+                   html += '   <button type="button" tabindex="-1">&nbsp; ' + tarteaucitron.lang.mandatoryTitle + '</button>';
                    html += '</div>';
                    html += '<ul id="tarteaucitronServices_mandatory">';
                    html += '<li class="tarteaucitronLine">';