mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-18 21:05:57 +00:00
0ff40a6532
Tooltips are intended to be stripped upon `mouseenter` and `focus` events and then restored during their corresponding `mouseleave` and `blur` events. This was broken due to duplication of event registration and no proper deregistration. Changes: * Rename `mw.popups.removeTooltips` to `mw.popups.removeTooltip` to more accurately describe its effect * Narrow the scope of `mw.popups.removeTooltip` * Add `mw.popups.restoreTooltip` * Add `onLinkBlur` to `desktopTarget.js` to handle tooltip restoration * Update qunit test to reflect changes to functions * Minor hygiene changes regarding event namespaces Bug: T142723 Change-Id: I776a72e436ac823fdd6b68435d9a042a91c934e5 |
||
---|---|---|
.. | ||
ext.popups.core.test.js | ||
ext.popups.desktopRenderer.test.js | ||
ext.popups.experiment.test.js | ||
ext.popups.renderer.article.test.js | ||
ext.popups.schemaPopups.utils.test.js | ||
ext.popups.settings.test.js |