mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
Merge pull request #1760 from ultimatemember/feature/remove_image_loading_attribute
Fixed a conflict between the image uploader and lazy-loading
This commit is contained in:
@@ -348,6 +348,7 @@ function initImageUpload_UM( trigger ) {
|
||||
|
||||
var cache_ts = new Date();
|
||||
|
||||
img_id.removeAttr("loading");
|
||||
img_id.attr("src", d.url + "?"+cache_ts.getTime() );
|
||||
img_id.data("file", d.file );
|
||||
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user