cropper.zoom(0.1) gives Uncaught TypeError #1149
Replies: 1 comment
-
The |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have this in my aspx page, and the cropper.setAspectRatio work fine, but I get an error when I try to set a default zoom.
ERROR:
Uncaught TypeError: Cannot read properties of undefined (reading 'width')
at Cropper.zoom (cropper.js:2403:37)
at ImageLogo.aspx?file=D%3a%5cTFS%5cKundefiler%5cNorskTakstMinSide%5cNorskTakstMinSide%5cUploadImages%5c3f96abe8-fd26-40b1-96f2-dbeaf05a6c69.png:295:29
CODE:
<script src="js/cropper.js"></script> <script src="js/main.js"></script>Beta Was this translation helpful? Give feedback.
All reactions