Cropper js update

This commit is contained in:
unknown
2016-02-22 16:33:55 +04:00
parent d8b44342fe
commit 6bb91b52c5
+6 -5
View File
@@ -379,11 +379,12 @@
initContainer: function () {
var $container = this.$container;
this.container = {
width: max($container.width(), 300),
height: max($container.height(), 150)
};
if($container !== NULL){
this.container = {
width: max($container.width(), 300),
height: max($container.height(), 150)
};
}
},
initCropper: function () {