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

Bug fix for onload race condition #627

Closed
wants to merge 1 commit into from
Closed

Conversation

olwimo
Copy link

@olwimo olwimo commented Apr 17, 2018

Proposed fix for bug illustrated on https://jsfiddle.net/olwimo/h633q2re/
Please note that this is a quick&dirty fix off the top of my head, and I haven't done any testing yet; I'll do a few quick tests soon, just to be sure I haven't missed some obvious fault/better solution, but I'm not too familiar with lightbox, so it's better if you guys find the "right" way to fix it anyway - I just didn't want to report the bug without at least suggesting a way to fix it.

Pull Requests are welcome. But note that v2 of Lightbox is in Maintenance Mode and no new features
will be added. See the Roadmap.

PRs submitted will still be reviewed and then kept open for other users to utilize.

Proposed fix for bug illustrated on https://jsfiddle.net/olwimo/h633q2re/
Please note that this is a quick&dirty fix off the top of my head, and I haven't done any testing yet; I'll do a few quick tests soon, just to be sure I haven't missed some obvious fault/better solution, but I'm not too familiar with lightbox, so it's better if you guys find the "right" way to fix it anyway - I just didn't want to report the bug without at least suggesting a way to fix it.
@olwimo
Copy link
Author

olwimo commented Apr 17, 2018

Better solution on #628

@olwimo olwimo closed this Apr 17, 2018
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.

1 participant