mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-01-27 07:04:24 +00:00
unfollow button class was reverted to 'profileUnfollow' for the calm theme dependency
This commit is contained in:
parent
58c8b47a44
commit
208e93a262
@ -60,7 +60,7 @@
|
||||
.profile-card .direct-messages,
|
||||
.profile-card .direct-messages-with-user,
|
||||
.profile-card .follow,
|
||||
.profile-card .unfollow
|
||||
.profile-card .profileUnfollow
|
||||
{
|
||||
display: block;
|
||||
position: absolute;
|
||||
@ -76,11 +76,11 @@
|
||||
transition: all .2s linear;
|
||||
}
|
||||
.profile-card .follow,
|
||||
.profile-card .unfollow
|
||||
.profile-card .profileUnfollow
|
||||
{
|
||||
right: 135px;
|
||||
}
|
||||
.profile-card .unfollow
|
||||
.profile-card .profileUnfollow
|
||||
{
|
||||
background-color: rgba( 0, 0, 0, .3 );
|
||||
}
|
||||
@ -90,7 +90,7 @@
|
||||
{
|
||||
background: rgba( 0, 0, 0, .3 );
|
||||
}
|
||||
.profile-card .unfollow:hover
|
||||
.profile-card .profileUnfollow:hover
|
||||
{
|
||||
background: rgba( 0, 0, 0, .1 );
|
||||
}
|
||||
@ -303,7 +303,7 @@
|
||||
.profile-modal .direct-messages,
|
||||
.profile-modal .direct-messages-with-user,
|
||||
.profile-modal .follow,
|
||||
.profile-modal .unfollow
|
||||
.profile-modal .profileUnfollow
|
||||
{
|
||||
bottom: 10px;
|
||||
}
|
||||
|
@ -123,7 +123,7 @@ function openProfileModal(e)
|
||||
|
||||
//hed//add dinamic follow button in profile modal window
|
||||
if(followingUsers.indexOf(username) != -1){
|
||||
$('.profile-card button.followButton').first().removeClass('follow').addClass('unfollow').text(polyglot.t('Unfollow')).on('click', function(){
|
||||
$('.profile-card button.followButton').first().removeClass('follow').addClass('profileUnfollow').text(polyglot.t('Unfollow')).on('click', function(){
|
||||
unfollow(username);
|
||||
});
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user