mirror of
https://github.com/Vimux/Binario.git
synced 2024-11-23 06:28:38 +00:00
Fix mobile menu in IE11
Remove trailing comma in functions (IE11)
This commit is contained in:
parent
f7d555ae80
commit
593fc3bbfb
2 changed files with 8 additions and 1 deletions
|
@ -27,6 +27,13 @@
|
||||||
2,
|
2,
|
||||||
"tab"
|
"tab"
|
||||||
],
|
],
|
||||||
|
"comma-dangle": ["error", {
|
||||||
|
"arrays": "always-multiline",
|
||||||
|
"objects": "always-multiline",
|
||||||
|
"imports": "always-multiline",
|
||||||
|
"exports": "always-multiline",
|
||||||
|
"functions": "ignore"
|
||||||
|
}],
|
||||||
"no-tabs": 0
|
"no-tabs": 0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -6,7 +6,7 @@ function toggleMenu() {
|
||||||
this.classList.toggle('main-nav__btn--active');
|
this.classList.toggle('main-nav__btn--active');
|
||||||
this.setAttribute(
|
this.setAttribute(
|
||||||
'aria-expanded',
|
'aria-expanded',
|
||||||
this.getAttribute('aria-expanded') === 'true' ? 'false' : 'true',
|
this.getAttribute('aria-expanded') === 'true' ? 'false' : 'true'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue