diff options
author | zotlabs <mike@macgirvin.com> | 2017-11-30 14:56:08 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-11-30 14:56:08 -0800 |
commit | ef4a0e5af5a249879e446636bd0ade54e2df0b9b (patch) | |
tree | de407ad63cb6275643e2bec8f4fdea0b26d9b51a /view/js/acl.js | |
parent | 3acc5b05086548a3f1bc2beb744d3fb03703b6a5 (diff) | |
parent | fc5b6887168a25992fb089ed7da7ac917e7aaf6b (diff) | |
download | volse-hubzilla-ef4a0e5af5a249879e446636bd0ade54e2df0b9b.tar.gz volse-hubzilla-ef4a0e5af5a249879e446636bd0ade54e2df0b9b.tar.bz2 volse-hubzilla-ef4a0e5af5a249879e446636bd0ade54e2df0b9b.zip |
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'view/js/acl.js')
-rw-r--r-- | view/js/acl.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/view/js/acl.js b/view/js/acl.js index e016158e9..6042b43ca 100644 --- a/view/js/acl.js +++ b/view/js/acl.js @@ -173,6 +173,12 @@ ACL.prototype.on_custom = function(event) { that.deny_cid = []; that.deny_gid = []; + $("#acl-list-content .acl-list-item img[data-src]").each(function(i, el) { + //Replace data-src attribute with src attribute for every image + $(el).attr('src', $(el).data("src")); + $(el).removeAttr("data-src"); + }); + that.update_view('custom'); that.on_submit(); @@ -408,10 +414,4 @@ ACL.prototype.populate = function(data) { } that.list_content.append(html); }); - - $("#acl-list-content .acl-list-item img[data-src]").each(function(i, el) { - // Replace data-src attribute with src attribute for every image - $(el).attr('src', $(el).data("src")); - $(el).removeAttr("data-src"); - }); }; |