]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frost-mobile/js/acl.js
remove some now-unnecessary templates
[friendica.git] / view / theme / frost-mobile / js / acl.js
index a2fb06262d45c61f299f08e1b6fc683af8683163..c3b6092f30050fe4811b5942d30bc0f832160ba1 100644 (file)
@@ -160,7 +160,7 @@ ACL.prototype.update_view = function(){
                                $('#jot-public').show();
                                $('.profile-jot-net input').attr('disabled', false);                    
                                if(typeof editor != 'undefined' && editor != false) {
-                                       $('#profile-jot-desc').html(ispublic);
+                                       $('#profile-jot-desc').html(window.isPublic);
                                }
                        
        } else {
@@ -253,6 +253,10 @@ ACL.prototype.populate = function(data){
                //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();
 }