mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-04 20:18:57 +00:00
e4af2b5df3
- Prevents the addPortletLinkHandler function from looping over the same links multiple times by indexing the HTMLElement instead of just the ID, which is an optional parameter. - Conditionally adds the icon class if the ID parameter exists. - Refactors the function to calculate the width of the vector toolbar. - Adds Jest tests to account for the dual icon scenario and updates existing Jest tests. Bug: T327369 Change-Id: I2a0934405efebd0e95919bc523d711866236a7e6 |
||
---|---|---|
.. | ||
__snapshots__ | ||
dropdownMenus.test.js | ||
menuTabs.test.js |