diff --git a/tarteaucitron.js b/tarteaucitron.js index 859d0d2..2442f4e 100644 --- a/tarteaucitron.js +++ b/tarteaucitron.js @@ -335,11 +335,11 @@ var tarteaucitron = { if (tarteaucitron.parameters.highPrivacy && !tarteaucitron.parameters.AcceptAllCta) { html += '
'; - html += '
'; + //html += '
'; html += ' '; html += ' ' + tarteaucitron.lang.alertBigPrivacy; html += ' '; - html += ' '; + //html += ' '; html += ' '; @@ -350,12 +350,12 @@ var tarteaucitron = { html += ' '; } - html += ' '; - html += '
'; + //html += ' '; + //html += '
'; html += '
'; } else { html += '
'; - html += '
'; + //html += '
'; html += ' '; if (tarteaucitron.parameters.highPrivacy) { @@ -365,7 +365,7 @@ var tarteaucitron = { } html += ' '; - html += ' '; + //html += ' '; html += ' '; @@ -379,8 +379,8 @@ var tarteaucitron = { html += ' '; } - html += ' '; - html += '
'; + //html += ' '; + //html += '
'; html += '
'; html += '
'; } @@ -498,18 +498,6 @@ var tarteaucitron = { html += ''; html += '
'; - // create wrapper container - /*var wrapper = document.createElement('div'); - wrapper.id = "contentWrapper"; - - while (document.body.firstChild) - { - wrapper.appendChild(document.body.firstChild); - } - - // Append the wrapper to the body - document.body.appendChild(wrapper);*/ - div.id = 'tarteaucitronRoot'; body.appendChild(div, body); div.innerHTML = html; @@ -823,7 +811,6 @@ var tarteaucitron = { tarteaucitron.userInterface.css('tarteaucitronCookiesListContainer', 'display', 'none'); document.getElementById('tarteaucitronClosePanel').focus(); - //document.getElementById('contentWrapper').setAttribute("aria-hidden", "true"); document.getElementsByTagName('body')[0].classList.add('modal-open'); tarteaucitron.userInterface.focusTrap(); tarteaucitron.userInterface.jsSizing('main'); @@ -865,7 +852,6 @@ var tarteaucitron = { if (document.getElementById('tarteaucitronCloseAlert') !== null) { document.getElementById('tarteaucitronCloseAlert').focus(); } - //document.getElementById('contentWrapper').setAttribute("aria-hidden", "false"); document.getElementsByTagName('body')[0].classList.remove('modal-open'); //ie compatibility