diff --git a/css/tarteaucitron.css b/css/tarteaucitron.css index d6593a1..940f8e5 100644 --- a/css/tarteaucitron.css +++ b/css/tarteaucitron.css @@ -1,3 +1,5 @@ +div#tarteaucitronAlertBig:focus {outline: 0;} + .tarteaucitron-modal-open{ overflow: hidden; height: 100%; diff --git a/tarteaucitron.js b/tarteaucitron.js index add6f81..d70fad6 100644 --- a/tarteaucitron.js +++ b/tarteaucitron.js @@ -391,7 +391,7 @@ var tarteaucitron = { } if (tarteaucitron.parameters.highPrivacy && !tarteaucitron.parameters.AcceptAllCta) { - html += '
'; + html += '
'; //html += '
'; html += ' '; html += ' ' + tarteaucitron.lang.alertBigPrivacy; @@ -411,7 +411,7 @@ var tarteaucitron = { //html += '
'; html += '
'; } else { - html += '
'; + html += '
'; //html += '
'; html += ' '; @@ -1234,8 +1234,8 @@ var tarteaucitron = { } //end ie compatibility - if (document.getElementById('tarteaucitronPersonalize2') !== null) { - document.getElementById('tarteaucitronPersonalize2').focus(); + if (document.getElementById('tarteaucitronAlertBig') !== null) { + document.getElementById('tarteaucitronAlertBig').focus(); } window.dispatchEvent(tacOpenAlertEvent);