Show cookie consent banner by removing 'hide' class: Updated the showBanner function to ensure the cookie consent banner is displayed correctly by removing the 'hide' class, improving visibility for users.

This commit is contained in:
TheOnlyMace
2026-01-13 23:31:12 +01:00
parent e660a47e03
commit 7940344f82

View File

@@ -245,6 +245,7 @@
*/
showBanner: function() {
if (banner) {
banner.classList.remove('hide');
banner.classList.add('show');
banner.setAttribute('aria-hidden', 'false');
// Fokus auf ersten Button setzen für Accessibility