X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=js%2Facl.js;h=fc6a6c0c1d4cb6283c89aef98cd0d1720fa701ba;hb=cc210bae3de704eaaef608e9083452fb982fff4a;hp=e383224ca8aba067bd952b59e0f04e089b67a314;hpb=43d5876e8b35d53a0bef5248c5d63e5bc209dbbf;p=friendica.git diff --git a/js/acl.js b/js/acl.js index e383224ca8..fc6a6c0c1d 100644 --- a/js/acl.js +++ b/js/acl.js @@ -248,11 +248,15 @@ ACL.prototype.populate = function(data){ that.list_content.height(height); $(data.items).each(function(){ html = "
"+that.item_tpl+"
"; - html = html.format( this.photo, this.name, this.type, this.id, '', this.network, this.link ); + html = html.format(this.photo, this.name, this.type, this.id, '', this.network, this.link); if (this.uids!=undefined) that.group_uids[this.id] = this.uids; //console.log(html); that.list_content.append(html); }); + $(".acl-list-item img[data-src]", that.list_content).each(function(i, el){ + // Add src attribute for images with a data-src attribute + $(el).attr('src', $(el).data("src")); + }); that.update_view(); }