mirror of
https://github.com/StarCitizenTools/mediawiki-extensions-TabberNeue.git
synced 2024-11-30 11:06:36 +00:00
fix: aria-hidden return string instead of boolean
This commit is contained in:
parent
f6435de56a
commit
7c95e570a8
|
@ -110,7 +110,7 @@ function initTabber( tabber, count ) {
|
||||||
|
|
||||||
const updateSectionHeight = function ( section, panel ) {
|
const updateSectionHeight = function ( section, panel ) {
|
||||||
/* Exit early if it is not the active panel */
|
/* Exit early if it is not the active panel */
|
||||||
if ( panel.getAttribute( 'aria-hidden' ) !== false ) {
|
if ( panel.getAttribute( 'aria-hidden' ) !== 'false' ) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue