update relative time on new ajax loaded content which wasn't evaluated during document.ready
This commit is contained in:
parent
3decf67e6d
commit
d4ee086806
@ -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) {
|
||||
|
@ -1,5 +1,6 @@
|
||||
<?php
|
||||
|
||||
require_once('include/items.php');
|
||||
|
||||
function network_init(&$a) {
|
||||
if(! local_user()) {
|
||||
|
Reference in New Issue
Block a user