mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-15 03:34:03 +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 |
||
---|---|---|
.. | ||
images | ||
ext.popups.core.js | ||
ext.popups.core.less |