mediawiki-extensions-Popups/resources
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
..
dist Child elements also trigger previews 2022-12-13 00:52:37 +00:00
ext.popups Extensible previews 2022-11-22 08:45:27 -08:00
ext.popups.images build: Update 'svgo' to latest v2.8.0 & re-crush images 2022-02-27 23:58:05 +00:00
.eslintrc.json build: Fix gaps in lint coverage and update old patterns 2021-08-16 17:02:05 +00:00