mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-25 08:05:51 +00:00
98c92edbba
Splits the click handler for pinnable elements into separate functions to reduce indentation and maybe improve testability. The click handler for pinnable elements is now placed in a function called `togglePinnableElement()` and attached to the click event via `.bind()`. Class toggling is split into a separate function called `togglePinnableClasses()` as well. This should have no functional impact. Change-Id: Ib27a469f6eb7e28360203d09db3315c6bde5c890 |
||
---|---|---|
.. | ||
images | ||
.eslintrc.json | ||
AB.js | ||
config.json | ||
deferUntilFrame.js | ||
features.js | ||
limitedWidthToggle.js | ||
limitedWidthToggle.less | ||
main.js | ||
pinnableElement.js | ||
scrollObserver.js | ||
searchToggle.js | ||
sectionObserver.js | ||
stickyHeader.js | ||
stickyHeaderAB.js | ||
tableOfContents.js | ||
tableOfContentsConfig.json |