mediawiki-extensions-Popups/tests/qunit
jhobs 0ff40a6532 Fix tooltip interactions
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
2016-11-03 13:39:26 -04:00
..
ext.popups.core.test.js Fix tooltip interactions 2016-11-03 13:39:26 -04:00
ext.popups.desktopRenderer.test.js Directory structure should reflect the ResourceLoader definitions 2016-10-19 20:52:40 +00:00
ext.popups.experiment.test.js Merge mw.popups.experiment into mw.popups.core 2016-09-21 16:43:49 -04:00
ext.popups.renderer.article.test.js Drop support for non-SVG browsers 2016-05-31 15:23:07 -07:00
ext.popups.schemaPopups.utils.test.js Hygiene: Rename getMassagedData to processHovercardEvent 2016-10-31 11:25:09 +00:00
ext.popups.settings.test.js Hovercards: Improve layout of settings dialog to design spec 2016-08-10 14:01:36 -04:00