mirror of
https://github.com/StarCitizenTools/mediawiki-extensions-TabberNeue.git
synced 2024-11-27 17:50:55 +00:00
parent
15f90d6760
commit
8b39e9e970
|
@ -420,6 +420,10 @@ class TabberEvent {
|
||||||
const headerOverflowObserver = new ResizeObserver( this.debounceUpdateHeaderOverflow() );
|
const headerOverflowObserver = new ResizeObserver( this.debounceUpdateHeaderOverflow() );
|
||||||
headerOverflowObserver.observe( this.tablist );
|
headerOverflowObserver.observe( this.tablist );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Refresh tabber height after it comes into viewport (#137)
|
||||||
|
const activeTabpanel = document.getElementById( this.activeTab.getAttribute( 'aria-controls' ) );
|
||||||
|
TabberAction.setActiveTabpanel( activeTabpanel );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue