diff --git a/application/views/mobile_first/ch-pc.php b/application/views/mobile_first/ch-pc.php index 8b0a1f0f..1541d8c9 100644 --- a/application/views/mobile_first/ch-pc.php +++ b/application/views/mobile_first/ch-pc.php @@ -333,13 +333,9 @@ Corporate Number: 914503003486045699 console.info('If you continue browsing, you agree to the use of cookies.'); } else { document.getElementById('gotIdArea').style.display = ''; - var gotItBtn = document.getElementById('gotItBtn'); - gotItBtn.addEventListener('click', function (evt) { - if (window.localStorage) { - localStorage.setItem(GOT_IT_KEY, '1'); - } - document.getElementById('gotIdArea').style.display = 'none'; - }); + if (window.localStorage) { + localStorage.setItem(GOT_IT_KEY, '1'); + } }