mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-15 03:34:03 +00:00
3c0ea0f9cd
Per T143051, hovercards was asked to be closed after the user clicks on the hovercard (or the link that showed it). Closing the popup before logging the `click` event causes `logData` to be lost. This patch logs the data first and then clears it. The regression was introduced in Ifd6f75c2a53d8d7b5ef9fd3f232f85b55eea24c8. Also do not attempt closing a popup when it may not be open. Bug: T146934 Change-Id: I02febc83036130bcea0a769114c9126cb481bafe |
||
---|---|---|
.. | ||
ext.popups.images | ||
ext.popups.renderer | ||
ext.popups.targets | ||
images | ||
ext.popups.animation.less | ||
ext.popups.core.js | ||
ext.popups.core.less | ||
ext.popups.renderer.article.js | ||
ext.popups.schemaPopups.js | ||
ext.popups.schemaPopups.utils.js | ||
ext.popups.settings.js | ||
ext.popups.settings.less | ||
popup.mustache | ||
settings.mustache |