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 - MaxHeight wouldn't work. #557

Merged
merged 1 commit into from
Apr 22, 2019
Merged

Conversation

ruimnetob
Copy link
Contributor

Seems like there is a bug in line 306, the code is comparing against width but we want height.

Previously the 'maxHeight' in lightbox.options, wouldn't work properly.
I tested it after correcting and now the image is resizing properly.

Seems like there is a bug in line 306, the code is comparing against width but we want height.
@lokesh lokesh merged commit fbd39fe into lokesh:master Apr 22, 2019
@lokesh
Copy link
Owner

lokesh commented Apr 22, 2019

oof. Sorry I missed this PR. Thanks for noting the issue and sending the fix.

@ruimnetob
Copy link
Contributor Author

oof. Sorry I missed this PR. Thanks for noting the issue and sending the fix.

:) glad to have contributed. Thank you for making this great library!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants