mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-23 23:24:39 +00:00
01e3ddcda5
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 |
||
---|---|---|
.. | ||
dist | ||
ext.popups | ||
ext.popups.images | ||
.eslintrc.json |