cancel follow request
This commit is contained in:
parent
da197340ec
commit
d8147d25ba
|
@ -417,6 +417,10 @@ function relations(user, acct_id) {
|
||||||
$("#his-data").addClass("following");
|
$("#his-data").addClass("following");
|
||||||
$("#his-follow-btn-text").text(lang.lang_status_unfollow);
|
$("#his-follow-btn-text").text(lang.lang_status_unfollow);
|
||||||
hisList(user, acct_id);
|
hisList(user, acct_id);
|
||||||
|
} else if (json.requested) {
|
||||||
|
//フォローリクエストを送っている
|
||||||
|
$("#his-data").addClass("follow-requested");
|
||||||
|
$("#his-follow-btn-text").text(lang.lang_status_cancel_follow_request);
|
||||||
} else {
|
} else {
|
||||||
$("#his-follow-btn-text").text(lang.lang_status_follow);
|
$("#his-follow-btn-text").text(lang.lang_status_follow);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user