mirror of
https://github.com/StarCitizenTools/mediawiki-extensions-TabberNeue.git
synced 2024-11-27 09:42:48 +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 ) {
|
||||
/* Exit early if it is not the active panel */
|
||||
if ( panel.getAttribute( 'aria-hidden' ) !== false ) {
|
||||
if ( panel.getAttribute( 'aria-hidden' ) !== 'false' ) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue