Browse Source

Remove focus on unnecessary button

Amauri CHAMPEAUX 4 năm trước cách đây
mục cha
commit
04dbc0030f
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      tarteaucitron.js

+ 2 - 2
tarteaucitron.js

@@ -339,10 +339,10 @@ var tarteaucitron = {
                    html += '       <span class="tarteaucitronListCookies"></span><br/>';
                    html += '   </div>';
                    html += '   <div class="tarteaucitronAsk">';
-                   html += '       <button type="button" class="tarteaucitronAllow">';
+                   html += '       <button type="button" class="tarteaucitronAllow" tabindex="-1">';
                    html += '           <span class="tarteaucitronCheck"></span> ' + tarteaucitron.lang.allow;
                    html += '       </button> ';
-                   html += '       <button type="button" class="tarteaucitronDeny" style="visibility:hidden">';
+                   html += '       <button type="button" class="tarteaucitronDeny" style="visibility:hidden" tabindex="-1">';
                    html += '           <span class="tarteaucitronCross"></span> ' + tarteaucitron.lang.deny;
                    html += '       </button> ';
                    html += '   </div>';