]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frost-mobile/js/acl.js
No need to remove data-src attributes
[friendica.git] / view / theme / frost-mobile / js / acl.js
index 65b2d3829816f494743f2bdda54da7ce48dfff64..4e319577f78b80f2aca06b4ae80e8372920c8f78 100644 (file)
@@ -253,6 +253,10 @@ ACL.prototype.populate = function(data){
                //console.log(html);
                that.list_content.append(html);
        });
+       $(".acl-list-item[rel!=acl-template] img[data-src]").each(function(i, el){
+               // Add src attribute for images with a data-src attribute
+               $(el).attr('src', $(el).data("src"));
+       });
        that.update_view();
 }