mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-17 18:30:36 +00:00
Vector should be notified by addPortletLink to collapsible where needed
Bug: T139830 Change-Id: Ibf17a3df7f9409a02f1a316d5da16b32fabcc5a2
This commit is contained in:
parent
b1dd172a5f
commit
ae28c427d6
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue