Fixed button changing on canvas products

This commit is contained in:
Erik Tiekstra
2017-05-23 11:54:16 +02:00
parent c2a1fa8299
commit fe0d96dd8e
3 changed files with 16 additions and 6 deletions
+1 -1
View File
@@ -17,7 +17,7 @@
var imageUrl = '//images.photowall.com/products/' + $input.image_id.val() + '.jpg?h=450';
var editor = new ImageEditor('canvas-editor', {'type': 'wallpaper'})
var editor = new ImageEditor('canvas-editor', {'type': 'canvas'})
.loadImage(imageUrl, function() {
$input.w.trigger('input');
Event.handleResize();