aboutsummaryrefslogtreecommitdiffstats
path: root/js/main.js
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-07-23 05:15:06 -0700
committerfriendica <info@friendica.com>2012-07-23 05:15:06 -0700
commitd4ee08680696e5cc46dd1a9ad8f4a06a083b61dc (patch)
tree939e1c91ea9e17016c790181f110e1345cb9a6df /js/main.js
parent3decf67e6d6aa0ae077aa48bcdd37afc05a36dd1 (diff)
downloadvolse-hubzilla-d4ee08680696e5cc46dd1a9ad8f4a06a083b61dc.tar.gz
volse-hubzilla-d4ee08680696e5cc46dd1a9ad8f4a06a083b61dc.tar.bz2
volse-hubzilla-d4ee08680696e5cc46dd1a9ad8f4a06a083b61dc.zip
update relative time on new ajax loaded content which wasn't evaluated during document.ready
Diffstat (limited to 'js/main.js')
-rw-r--r--js/main.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/js/main.js b/js/main.js
index e434ee4a5..453b5920e 100644
--- a/js/main.js
+++ b/js/main.js
@@ -250,12 +250,16 @@
$(this).attr('src',$(this).attr('dst'));
});
$('#' + prev).after($(this));
+ $("abbr.wall-item-ago-time").timeago();
+
}
else {
$('img',this).each(function() {
$(this).attr('src',$(this).attr('dst'));
});
$('#' + ident).replaceWith($(this));
+ $("abbr.wall-item-ago-time").timeago();
+
}
prev = ident;
});
@@ -295,6 +299,8 @@
/* autocomplete @nicknames */
$(".comment-edit-form textarea").contact_autocomplete(baseurl+"/acl");
});
+
+
}
function imgbright(node) {