Add: timeago on acct

This commit is contained in:
Cutls 2019-08-31 00:10:24 +09:00
parent 350068d6f1
commit da6faaf1a5
3 changed files with 8 additions and 5 deletions

View File

@ -422,6 +422,7 @@ function faved(id, acct_id) {
$("#toot-fav .no-data").hide(); $("#toot-fav .no-data").hide();
} }
$("#toot-fav").html(templete); $("#toot-fav").html(templete);
jQuery("time.timeago").timeago();
}); });
} }
@ -445,6 +446,7 @@ function rted(id, acct_id) {
}).then(function (json) { }).then(function (json) {
var templete = userparse(json, '', acct_id); var templete = userparse(json, '', acct_id);
$("#toot-rt").html(templete); $("#toot-rt").html(templete);
jQuery("time.timeago").timeago();
}); });
} }
//URL等のコピー //URL等のコピー

View File

@ -135,6 +135,7 @@ function listUser(id, acct_id) {
templete = lang.lang_list_nouser; templete = lang.lang_list_nouser;
} }
$("#lists-user").html(templete); $("#lists-user").html(templete);
jQuery("time.timeago").timeago();
} else { } else {
$("#lists-user").html(lang.lang_list_nouser); $("#lists-user").html(lang.lang_list_nouser);
} }

View File

@ -162,7 +162,7 @@ function flw(user, more, acct_id) {
} else { } else {
$("#his-follow-list-contents").html(templete); $("#his-follow-list-contents").html(templete);
} }
jQuery("time.timeago").timeago();
}); });
} }
@ -228,7 +228,7 @@ function fer(user, more, acct_id) {
} else { } else {
$("#his-follower-list-contents").html(templete); $("#his-follower-list-contents").html(templete);
} }
jQuery("time.timeago").timeago();
}); });
} }
@ -390,7 +390,7 @@ function showBlo(more, acct_id) {
} else { } else {
$("#his-blocking-list-contents").html(templete); $("#his-blocking-list-contents").html(templete);
} }
jQuery("time.timeago").timeago();
}); });
} }
@ -453,7 +453,7 @@ function showReq(more, acct_id) {
} else { } else {
$("#his-request-list-contents").html(templete); $("#his-request-list-contents").html(templete);
} }
jQuery("time.timeago").timeago();
}); });
} }
@ -550,7 +550,7 @@ function showFrl(more, acct_id) {
} else { } else {
$("#his-follow-recom-contents").html(templete); $("#his-follow-recom-contents").html(templete);
} }
jQuery("time.timeago").timeago();
}); });
} }
//Keybase //Keybase