Fix element ID.

This commit is contained in:
2026-06-16 20:59:17 +02:00
parent ac0e1ed8c6
commit 7187f7bb2a
2 changed files with 4 additions and 3 deletions
@@ -1,6 +1,6 @@
(function () {
function trackVisit() {
var banner = document.getElementById('cookie_banner');
var banner = document.getElementById('cookie-banner');
if (!banner) return;
var matomoUrl = banner.dataset.matomoUrl;
var siteId = banner.dataset.matomoSiteId;
@@ -23,4 +23,4 @@
if (localStorage.getItem('cookie_consent') === 'accepted') {
trackVisit();
}
})();
})();