Fix Meldungen mobile toggle by using explicit display none
This commit is contained in:
@@ -336,7 +336,7 @@
|
|||||||
const nextExpanded = !isExpanded;
|
const nextExpanded = !isExpanded;
|
||||||
|
|
||||||
cards.forEach((card) => {
|
cards.forEach((card) => {
|
||||||
card.hidden = !nextExpanded;
|
card.style.display = nextExpanded ? '' : 'none';
|
||||||
});
|
});
|
||||||
|
|
||||||
button.setAttribute('aria-expanded', String(nextExpanded));
|
button.setAttribute('aria-expanded', String(nextExpanded));
|
||||||
|
|||||||
Reference in New Issue
Block a user