Vector-Local/resources
Jan Drewniak a473e694e1 [TOC] Remove pointer-events:none on .sidebar-toc-link
Previously, we relied on setting pointer-events:none on all child
elements of ToC links.

This propagated the click event up to the link itself in Javascript
and allowed us check if an element with the class `.sidebar-toc-link`
was clicked.

Unfortunately as of Chromium 101 this approach causes the entire link
in the sidebar to be unclickable.

Instead, this patch checks if the ToC link or any of it's children
have been clicked (using the less efficient `Element.closest()` ).

Bug: T307271
Change-Id: I2264b7862f6e1ef50c5c722daee81acc39eea54e
2022-05-02 13:04:26 -07:00
..
common Layout + visual style changes for sticky TOC 2022-04-15 10:24:46 -06:00
mediawiki.less Implement mediawiki.skin.variables.less for Vector 2020-09-16 08:39:13 -07:00
skins.vector.es6 [TOC] Remove pointer-events:none on .sidebar-toc-link 2022-05-02 13:04:26 -07:00
skins.vector.js Update debounce param order 2022-04-06 17:15:20 +01:00
skins.vector.legacy.js Update @wikimedia/types-wikimedia to latest version 2022-03-28 23:33:50 +00:00
skins.vector.search Pass script path to URL generator 2022-03-23 10:37:39 -07:00
skins.vector.styles [TOC] Remove pointer-events:none on .sidebar-toc-link 2022-05-02 13:04:26 -07:00
skins.vector.styles.legacy Update Vector menu CSS to use `vector-menu-heading` instead of `h3` 2022-03-02 20:05:36 +05:30
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
VectorResourceLoaderVirtualConfig.d.ts Address some code FIXMEs 2022-03-21 20:29:58 +00:00
mw.d.ts Use centralized MediaWiki typescript definition 2021-07-26 21:27:12 +00:00
vue.d.ts Integrate WVUI search into Vector 2020-12-08 13:27:12 -08:00