mediawiki-skins-Vector/resources/skins.vector.styles
Jan Drewniak 7e81c26712 [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 19:48:30 +00:00
..
components [TOC] Remove pointer-events:none on .sidebar-toc-link 2022-05-02 19:48:30 +00:00
images
layouts [ToC] Increase threshold for ToC collapsing to 1000px 2022-04-26 17:46:51 +00:00
skin.less Remove dancing tabs with CSS only solution 2022-04-28 17:57:10 +00:00