Fix image modal and cropper

This commit is contained in:
champsupertramp
2016-06-19 23:46:34 +08:00
parent ddc3ce8264
commit 4b33e56230
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -664,8 +664,8 @@ function initFileUpload_UM( trigger ) {
function initCrop_UM() {
var target_img = jQuery('.um-modal:visible .um-single-image-preview img').first();
var target_img_parent = jQuery('.um-modal:visible .um-single-image-preview');
var target_img = jQuery('.um-modal .um-single-image-preview img').first();
var target_img_parent = jQuery('.um-modal .um-single-image-preview');
var crop_data = target_img.parent().attr('data-crop');
var min_width = target_img.parent().attr('data-min_width');
+3 -3
View File
File diff suppressed because one or more lines are too long