mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-23 23:33:54 +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 |
||
---|---|---|
.. | ||
__mocks__ | ||
__snapshots__ | ||
skins.vector.es6 | ||
skins.vector.js | ||
AB.test.js | ||
App.test.js | ||
deferUntilFrame.test.js | ||
fetch.test.js | ||
instrumentation.test.js | ||
pinnableElement.test.js | ||
restSearchClient.test.js | ||
stickyHeader.test.js | ||
tableOfContents.test.js | ||
urlGenerator.test.js | ||
userLinks.test.js | ||
userLinksData.js |