mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 15:53:46 +00:00
c741759cab
stickyHeader.js, a file in the "skins.vector.es6" module, clones the user menu. Because of this, it must initialize before dropdownMenu.js, a file in the "skins.vector.js" module, in order for dropdownMenu.js to bind the correct checkboxHack event listeners to the user menu in the sticky header. Therefore, change the es6 module to export its main method. The skins.vector.js module can then use mw.loader.using to ensure the skins.vector.es6 module initialization happens first in browsers that support es6. Browsers that don't support es6 will continue to initialize the skins.vector.js module. Bug: T291096 Change-Id: I1bb6f2da9703ed2679eacfdb42b9818efe614ab9 |
||
---|---|---|
.. | ||
common | ||
mediawiki.less | ||
skins.vector.es6 | ||
skins.vector.js | ||
skins.vector.legacy.js | ||
skins.vector.search | ||
skins.vector.styles | ||
skins.vector.styles.legacy | ||
CheckboxHack.d.ts | ||
CollapsibleTabsPlugin.d.ts | ||
MediaWikiPageReady.d.ts | ||
mw.d.ts | ||
VectorResourceLoaderVirtualConfig.d.ts | ||
vue.d.ts |