forked from Ruderverein-Donau-Linz/rowt
[BUGFIX] firefox bug aria-pressed
This commit is contained in:
parent
5a40f8ebd6
commit
ddf7096219
@ -30,7 +30,7 @@ function initToggle() {
|
||||
sessionStorage.setItem('tripsFilter', JSON.stringify( Array.from(filterMap.entries())));
|
||||
}
|
||||
resetFilteredElements();
|
||||
if(btn.ariaPressed === 'false'){
|
||||
if(btn.getAttribute('aria-pressed') === 'false'){
|
||||
Array.prototype.forEach.call(btns, (b: HTMLButtonElement) => {
|
||||
b.setAttribute('aria-pressed', 'false');
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user