unfollow button class was reverted to 'profileUnfollow' for the calm theme dependency

This commit is contained in:
erqan 2014-04-11 19:29:53 +03:00
parent 58c8b47a44
commit 208e93a262
2 changed files with 6 additions and 6 deletions

View File

@ -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;
}

View File

@ -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);
});
};