mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-02-04 11:04:29 +00:00
Fixed clicking on followed by @user link in suggestions.
This commit is contained in:
parent
3136367fb2
commit
fe5ad2177e
@ -624,7 +624,8 @@ button.disabled:hover
|
||||
font-size: 13px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.twister-user-name
|
||||
.twister-user-name,
|
||||
.twister-by-user-name
|
||||
{
|
||||
font-weight: bold;
|
||||
font-size: 14px;
|
||||
|
@ -174,7 +174,9 @@
|
||||
<span class="twister-user-tag"></span>
|
||||
</a>
|
||||
<div class="followers">Followed by
|
||||
<span class="followed-by"></span>
|
||||
<a href="#" class="twister-by-user-name open-profile-modal">
|
||||
<span class="followed-by"></span>
|
||||
</a>
|
||||
</div>
|
||||
<a class="twister-user-remove">×</a>
|
||||
<button class="follow">Follow</button>
|
||||
|
@ -332,6 +332,7 @@ function processSuggestion(arg, suggestion, followedBy) {
|
||||
item.find(".twister-user-info").attr("data-screen-name", suggestion);
|
||||
|
||||
item.find(".twister-user-name").attr("href", $.MAL.userUrl(suggestion));
|
||||
item.find(".twister-by-user-name").attr("href", $.MAL.userUrl(followedBy));
|
||||
item.find(".twister-user-tag").text("@" + suggestion);
|
||||
|
||||
getAvatar(suggestion,item.find(".twister-user-photo"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user