Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Modal]: Remove keyup listener on destroy #89

Merged
merged 2 commits into from
Oct 20, 2019

Conversation

luksurious
Copy link
Contributor

Closes #88

Also fixed two minor code style issues currently present in the master.

Note: Unfortunately, I am not sure how to create Modals in the current master with the changed plugin structure. The documented method does not work, an error about "missing root/parent" is thrown by plugin.js. Otherwise, I would have added unit tests for the issue as well.

@VizuaaLOG VizuaaLOG merged commit 5d24639 into VizuaaLOG:master Oct 20, 2019
@VizuaaLOG
Copy link
Owner

Thank you for this! Good catch!

Master is currently going through some major API changes to hopefully simplify the usage. But currently parts are broken and it has no documentation.

I'll port your fix back to 0.10 and do a release later today.

Thanks again!

VizuaaLOG pushed a commit that referenced this pull request Oct 20, 2019
@luksurious luksurious deleted the modal-remove-event branch October 26, 2019 13:38
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Destroyed modal still listens on keyup event
2 participants