mediawiki-skins-Vector/resources
Jan Drewniak 98c92edbba Factor out functions in PinnableElement.js
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
2023-01-11 23:58:30 +00:00
..
common Fix TOC scrollable indicator 2023-01-10 17:21:26 -06:00
mediawiki.less mediawiki.skin.variables: Add border-style and border-width vars 2022-09-23 17:58:42 +00:00
mediawiki.less.legacy Vector legacy no longer imports variables from Vector modern 2022-08-24 15:08:35 +00:00
skins.vector.es6 Factor out functions in PinnableElement.js 2023-01-11 23:58:30 +00:00
skins.vector.js Move limitedWidthToggle.js and features.js to skins.vector.es6 module 2022-12-07 16:45:52 -07:00
skins.vector.legacy.js Update @wikimedia/types-wikimedia to latest version 2022-03-28 23:33:50 +00:00
skins.vector.search search: Remove unused generateUrl() function 2022-12-06 13:35:45 +01:00
skins.vector.styles Fix TOC scrollable indicator 2023-01-10 17:21:26 -06:00
skins.vector.styles.legacy Clean up cached .vector-menu-portal code 2022-12-15 14:30:58 -06:00
CheckboxHack.d.ts Add enter/spacebar keyboard support to sidebar. 2020-07-09 22:38:15 +02:00
CollapsibleTabsPlugin.d.ts [JavaScript] Validate types 2020-03-16 09:10:08 -06:00
MediaWikiPageReady.d.ts Vector manages search functionality and provides config flag 2020-08-04 00:06:31 +00:00
mw.d.ts Use centralized MediaWiki typescript definition 2021-07-26 21:27:12 +00:00
VectorResourceLoaderVirtualConfig.d.ts Remove $wgVectorSearchHost, replace with $wgVectorSearchApiUrl 2022-10-07 00:57:58 +00:00
vue.d.ts Integrate WVUI search into Vector 2020-12-08 13:27:12 -08:00