Merge pull request #93 from sasryan7/master

Cropper js update
This commit is contained in:
Champ Camba
2016-02-22 20:49:20 +08:00
+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 () {