Keep left navigation toggle active on mobile
This commit is contained in:
@@ -61,8 +61,8 @@
|
||||
menu.hidden = !expanded;
|
||||
toggle.setAttribute('aria-expanded', String(expanded));
|
||||
toggle.textContent = expanded ? 'Ausblenden' : 'Einblenden';
|
||||
toggle.classList.toggle('sg-button--active', expanded);
|
||||
toggle.classList.toggle('sg-button--inactive', !expanded);
|
||||
toggle.classList.add('sg-button--active');
|
||||
toggle.classList.remove('sg-button--inactive');
|
||||
};
|
||||
|
||||
const syncMode = () => {
|
||||
|
||||
Reference in New Issue
Block a user