Page MenuHomePhabricator

Remove `Overlay.EVENT_EXIT` from Overlay.js
Closed, ResolvedPublic0.5 Estimated Story Points

Description

Overlay.js attaches an EVENT_EXIT to its constructor:

/*
 * Fires when close button is clicked. Not to be confused with hide event.
 * @memberof Overlay
 * @event Overlay#Overlay-exit
 */
Overlay.EVENT_EXIT = 'Overlay-exit';

However, nothing listens to this event. Let's make Overlay.js stop firing this event and remove all references to it from Overlay.js!

Acceptance criteria

  • All references to EVENT_EXIT are removed from Overlay.js

Event Timeline

Change 503535 had a related patch set uploaded (by Nray; owner: Nray):
[mediawiki/extensions/MobileFrontend@master] Remove Overlay.EVENT_EXIT from Overlay.js

https://gerrit.wikimedia.org/r/503535

Change 503535 merged by jenkins-bot:
[mediawiki/extensions/MobileFrontend@master] Remove Overlay.EVENT_EXIT from Overlay.js

https://gerrit.wikimedia.org/r/503535

Niedzielski set the point value for this task to 0.5.Apr 29 2019, 5:10 PM
pmiazga triaged this task as Medium priority.

Looks good, I cannot find any occurrences of EVENT_EXIT nor Overlay-exit

pmiazga updated the task description. (Show Details)