mirror of
https://github.com/friendica/friendica
synced 2025-04-19 07:10:11 +00:00
don't send any potentially large embeds over ajax so as to avoid huge prefetch downloads. Strip them out and provide a notice to reload page to view them. Ensures they will only be loaded once.
This commit is contained in:
parent
990d5e82a0
commit
a6603a54d9
3 changed files with 18 additions and 1 deletions
|
@ -138,7 +138,7 @@
|
|||
});
|
||||
$('.wall-item-outside-wrapper',data).each(function() {
|
||||
var ident = $(this).attr('id');
|
||||
if($('#' + ident).length == 0) {
|
||||
if($('#' + ident).length == 0) {
|
||||
$('img',this).each(function() {
|
||||
$(this).attr('src',$(this).attr('dst'));
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue