Skip to main content
summaryrefslogtreecommitdiffstats
blob: 1aae434d538ed01b7a3fdae27c5205d65ba7cc9b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php
function hasCookieConsent() {
  return isset($_COOKIE['eclipse_cookieconsent_status'])
   && $_COOKIE['eclipse_cookieconsent_status'] === 'allow';
}
?>
<script defer>
setTimeout(function () {
  var cookieButtons = document.querySelectorAll('.cc-compliance .cc-btn')
  for (var i=0; i<cookieButtons.length; i++) {
    cookieButtons[i].addEventListener("click", function () {
      location.reload()
    });
  }
}, 1000)
</script>

Back to the top