mirror of
https://github.com/friendica/friendica
synced 2025-04-24 10:30:11 +00:00
No need to remove data-src attributes
Better comment string also
This commit is contained in:
parent
6a2bd8b29f
commit
2943550fe2
6 changed files with 6 additions and 9 deletions
|
@ -183,9 +183,8 @@
|
|||
});
|
||||
|
||||
$("img[data-src]", nnm).each(function(i, el){
|
||||
// Replace data-src attribute with src attribute for every image
|
||||
// Add src attribute for images with a data-src attribute
|
||||
$(el).attr('src', $(el).data("src"));
|
||||
$(el).removeAttr("data-src");
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue