Skip to content

Do not throw error if ratio not specified in url#225

Open
bawolff wants to merge 1 commit intodanmichaelo:mainfrom
bawolff:ratio
Open

Do not throw error if ratio not specified in url#225
bawolff wants to merge 1 commit intodanmichaelo:mainfrom
bawolff:ratio

Conversation

@bawolff
Copy link
Contributor

@bawolff bawolff commented Feb 6, 2025

Previously this was throwing an error on client side when ratio was not specified in url, because then ratio would be undefined and string related methods could not be called on it.

This also made the dimensions initially show up as NaN when you first opened an image.

Previously this was throwing an error when ratio was not specified
in url, because then ratio would be undefined and string related
methods could not be called on it.
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