Fixed responsivity when resizing the window
This commit is contained in:
+3
-1
@@ -17,7 +17,9 @@
|
||||
|
||||
var imageUrl = '//images.photowall.com/products/' + $input.image_id.val() + '.jpg?h=450';
|
||||
|
||||
var editor = new ImageEditor('canvas-editor', {'type': 'canvas'})
|
||||
var editor = new ImageEditor('canvas-editor', {
|
||||
type: 'canvas',
|
||||
})
|
||||
.loadImage(imageUrl, function() {
|
||||
$input.w.trigger('input');
|
||||
Event.handleResize();
|
||||
|
||||
Reference in New Issue
Block a user