X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrost-mobile%2Fjs%2Facl.js;h=4e319577f78b80f2aca06b4ae80e8372920c8f78;hb=2943550fe289c67cbb1fcb50afa79ac2460a929d;hp=20f0d461895cc1898d8fd28c8def9b9d1798b0c8;hpb=e05725fb4473be7ec3ee6fcea80f3f2e7c52a434;p=friendica.git diff --git a/view/theme/frost-mobile/js/acl.js b/view/theme/frost-mobile/js/acl.js index 20f0d46189..4e319577f7 100644 --- a/view/theme/frost-mobile/js/acl.js +++ b/view/theme/frost-mobile/js/acl.js @@ -253,10 +253,9 @@ ACL.prototype.populate = function(data){ //console.log(html); that.list_content.append(html); }); - $(".acl-list-item img[data-src]").each(function(i, el){ - // Replace data-src attribute with src attribute for every image + $(".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")); - $(el).removeAttr("data-src"); }); that.update_view(); }