Fix initialization of ButtonMenu

This commit is contained in:
Rikard Bartholf
2017-05-17 12:46:22 +02:00
parent 30b30406fe
commit 6ac64d18bd
4 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -13,7 +13,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');
});