To fix hidden followers

This commit is contained in:
Cutls 2019-03-10 14:32:44 +09:00
parent bc8958ac6a
commit 28e39cdd3d
2 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,6 @@
//commonError //commonError
var lang={ var lang={
"language":"ja", "language":"ja",
//commonError
"lang_toot":"トゥート", "lang_toot":"トゥート",
"lang_there":"あり", "lang_there":"あり",
"lang_nothing":"なし", "lang_nothing":"なし",

View File

@ -130,7 +130,11 @@ function udg(user, acct_id) {
$('#his-data').css('background-image', 'url(' + json.header + ')'); $('#his-data').css('background-image', 'url(' + json.header + ')');
$("#his-sta").text(json.statuses_count); $("#his-sta").text(json.statuses_count);
$("#his-follow").text(json.following_count); $("#his-follow").text(json.following_count);
$("#his-follower").text(json.followers_count); var flerc=json.followers_count;
if(flerc<0){
flerc="-";
}
$("#his-follower").text(flerc);
$("#his-since").text(crat(json.created_at)); $("#his-since").text(crat(json.created_at));
$("#his-openin").attr("data-href", json.url); $("#his-openin").attr("data-href", json.url);
if(json.fields){ if(json.fields){