Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Bugfix #4

Merged
merged 2 commits into from
Aug 7, 2016
Merged

Bugfix #4

merged 2 commits into from
Aug 7, 2016

Conversation

joeldbirch
Copy link
Contributor

I found that pressing the escape key when the mediabox wasn't open threw JS errors. Fixed.

Also, pressing escape to close the mediabox also threw JS errors if the user pressed it multiple times prior to the setTimeout completing and removing the .mediabox-wrap element. Fixed.

… it exists. Prevents errors when escape key is pressed multiple times prior to the 500ms setTimeout completing and removing the element.
@pinceladasdaweb pinceladasdaweb merged commit 76b4280 into pinceladasdaweb:master Aug 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants