Menu buttons can be made active/inactive programattically

This commit is contained in:
Rikard Bartholf
2017-05-16 15:41:29 +02:00
parent b0888a58cd
commit 86f3964a3d
4 changed files with 40 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': 'canvas'})
var editor = new ImageEditor('canvas-editor', {'type': 'wallpaper'})
.loadImage(imageUrl, function() {
$input.w.trigger('input');
});