aboutsummaryrefslogtreecommitdiffstats
path: root/include/main.js
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-05-18 20:34:18 -0700
committerFriendika <info@friendika.com>2011-05-18 20:34:18 -0700
commita6603a54d9c68d1efee553e747de233f992dc3d2 (patch)
treefb15de078005eb4a86fd218820fefc08688cb9fd /include/main.js
parent990d5e82a0c38831240590f907fb4c6efd62041d (diff)
downloadvolse-hubzilla-a6603a54d9c68d1efee553e747de233f992dc3d2.tar.gz
volse-hubzilla-a6603a54d9c68d1efee553e747de233f992dc3d2.tar.bz2
volse-hubzilla-a6603a54d9c68d1efee553e747de233f992dc3d2.zip
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.
Diffstat (limited to 'include/main.js')
-rw-r--r--include/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/main.js b/include/main.js
index e3e56fa0b..0d68c2b2b 100644
--- a/include/main.js
+++ b/include/main.js
@@ -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'));
});