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:
Friendika 2011-05-18 20:34:18 -07:00
parent 990d5e82a0
commit a6603a54d9
3 changed files with 18 additions and 1 deletions

View file

@ -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'));
});