mirror of
https://git.hexahost.dev/smueller/HexaHost-Frontend.git
synced 2026-06-02 06:08:42 +00:00
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:
@@ -245,6 +245,7 @@
|
|||||||
*/
|
*/
|
||||||
showBanner: function() {
|
showBanner: function() {
|
||||||
if (banner) {
|
if (banner) {
|
||||||
|
banner.classList.remove('hide');
|
||||||
banner.classList.add('show');
|
banner.classList.add('show');
|
||||||
banner.setAttribute('aria-hidden', 'false');
|
banner.setAttribute('aria-hidden', 'false');
|
||||||
// Fokus auf ersten Button setzen für Accessibility
|
// Fokus auf ersten Button setzen für Accessibility
|
||||||
|
|||||||
Reference in New Issue
Block a user