mediawiki-extensions-Popups/resources/dist
Jon Robson 01e3ddcda5 Child elements also trigger previews
Follow up to
Iefe98c1f0422dbf034e385b1a41a859d030a2cf4 where we switched from the
jquery event delegation pattern to native methods. One thing that we
overlooked was that we also need to consider the case where the selector
matches the parent of an element, for example a span nested inside an
eligible link. I've rethought this logic, to first find the closest
eligible element to normalize the element passed to model methods
before running matchesSelector.

Bug: T325007
Change-Id: I4133751dc900a51829173e9c0d965cbb18e6a33e
2022-12-13 00:52:37 +00:00
..
.eslintrc.json build: Fix gaps in lint coverage and update old patterns 2021-08-16 17:02:05 +00:00
index.js Child elements also trigger previews 2022-12-13 00:52:37 +00:00
index.js.map.json Child elements also trigger previews 2022-12-13 00:52:37 +00:00