diff --git a/resources/skins.vector.legacy.js/collapsibleTabs.js b/resources/skins.vector.legacy.js/collapsibleTabs.js index 3fc0a11b3..d94413cce 100644 --- a/resources/skins.vector.legacy.js/collapsibleTabs.js +++ b/resources/skins.vector.legacy.js/collapsibleTabs.js @@ -45,6 +45,8 @@ function init() { // call our resize handler to setup the page rAF( $.collapsibleTabs.handleResize ); + // When adding new links, a resize should be triggered (T139830). + mw.hook( 'util.addPortletLink' ).add( $.collapsibleTabs.handleResize ); return this; }; $.collapsibleTabs = {