X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrost-mobile%2Fjs%2Facl.js;h=4e319577f78b80f2aca06b4ae80e8372920c8f78;hb=2943550fe289c67cbb1fcb50afa79ac2460a929d;hp=6feded6ab4b7e5bcb9a3a2aa07f217eac68513d8;hpb=a41692120e92e0b8afc73be24994cd6985a8b110;p=friendica.git diff --git a/view/theme/frost-mobile/js/acl.js b/view/theme/frost-mobile/js/acl.js index 6feded6ab4..4e319577f7 100644 --- a/view/theme/frost-mobile/js/acl.js +++ b/view/theme/frost-mobile/js/acl.js @@ -247,12 +247,16 @@ ACL.prototype.populate = function(data){ /* var height = Math.ceil(data.tot / that.nw) * 42; that.list_content.height(height);*/ $j(data.items).each(function(){ - html = "

{1}

"+that.item_tpl+"
"; + html = "
"+that.item_tpl+"
"; 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[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(); }