croptool icon indicating copy to clipboard operation
croptool copied to clipboard

Do not throw error if ratio not specified in url

Open bawolff opened this issue 1 year ago • 0 comments

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.

bawolff avatar Feb 06 '25 20:02 bawolff