Skip to content
This repository was archived by the owner on Jul 3, 2019. It is now read-only.

Fix check for existing listener - #2453

Open
ivanpopelyshev wants to merge 1 commit into
mozilla:masterfrom
ivanpopelyshev:fix-add-event-listener
Open

Fix check for existing listener#2453
ivanpopelyshev wants to merge 1 commit into
mozilla:masterfrom
ivanpopelyshev:fix-add-event-listener

Conversation

@ivanpopelyshev

Copy link
Copy Markdown

The following code adds handler two times:

d.addEventListener(Event.COMPLETE, handler);
d.addEventListener(Event.COMPLETE, handler2);
d.addEventListener(Event.COMPLETE, handler);

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant