mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
Fix image modal and cropper
This commit is contained in:
@@ -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');
|
||||
|
||||
Vendored
+3
-3
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user