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'));
|
$(this).attr('src',$(this).attr('dst'));
|
||||||
});
|
});
|
||||||
$('#' + prev).after($(this));
|
$('#' + prev).after($(this));
|
||||||
|
$("abbr.wall-item-ago-time").timeago();
|
||||||
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$('img',this).each(function() {
|
$('img',this).each(function() {
|
||||||
$(this).attr('src',$(this).attr('dst'));
|
$(this).attr('src',$(this).attr('dst'));
|
||||||
});
|
});
|
||||||
$('#' + ident).replaceWith($(this));
|
$('#' + ident).replaceWith($(this));
|
||||||
|
$("abbr.wall-item-ago-time").timeago();
|
||||||
|
|
||||||
}
|
}
|
||||||
prev = ident;
|
prev = ident;
|
||||||
});
|
});
|
||||||
@ -295,6 +299,8 @@
|
|||||||
/* autocomplete @nicknames */
|
/* autocomplete @nicknames */
|
||||||
$(".comment-edit-form textarea").contact_autocomplete(baseurl+"/acl");
|
$(".comment-edit-form textarea").contact_autocomplete(baseurl+"/acl");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function imgbright(node) {
|
function imgbright(node) {
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
require_once('include/items.php');
|
||||||
|
|
||||||
function network_init(&$a) {
|
function network_init(&$a) {
|
||||||
if(! local_user()) {
|
if(! local_user()) {
|
||||||
|
Reference in New Issue
Block a user