mediawiki-skins-Vector/tests/jest/skins.vector.js/__snapshots__
Jan Drewniak e4af2b5df3 Prevent addPortletLinkHandler from looping over links twice
- 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
2023-02-16 20:05:54 +00:00
..
dropdownMenus.test.js.snap Prevent addPortletLinkHandler from looping over links twice 2023-02-16 20:05:54 +00:00
menuTabs.test.js.snap Remove vector-menu-dropdown-noicon class 2023-01-10 23:48:05 +00:00