]> git.mxchange.org Git - friendica.git/blobdiff - js/acl.js
quattro: fix item max-width, fix contact serarch autocomplete popup style
[friendica.git] / js / acl.js
index 36cf74970fbac1e83df66fa67da46f4d0711040c..fc6a6c0c1d4cb6283c89aef98cd0d1720fa701ba 100644 (file)
--- a/js/acl.js
+++ b/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 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"));
-               $(el).removeAttr("data-src");
        });
        that.update_view();
 }