v1.18.x
Baris Usakli 12 years ago
parent b2f383f095
commit 2deb0e1708

@ -18,6 +18,9 @@
followBtn.show(); followBtn.show();
unfollowBtn.hide(); unfollowBtn.hide();
} }
} else {
followBtn.hide();
unfollowBtn.hide();
} }
followBtn.on('click', function() { followBtn.on('click', function() {

@ -7,7 +7,7 @@
$(document).ready(function() { $(document).ready(function() {
if(parseInt(followersCount, 10) === 0) { if(parseInt(followersCount, 10) === 0) {
$('#no-followers-notice').show(); $('#no-followers-notice').removeClass('hide');
} }
app.addCommasToNumbers(); app.addCommasToNumbers();

@ -7,7 +7,7 @@
$(document).ready(function() { $(document).ready(function() {
if(parseInt(followingCount, 10) === 0) { if(parseInt(followingCount, 10) === 0) {
$('#no-following-notice').show(); $('#no-following-notice').removeClass('hide');
} }

@ -19,8 +19,8 @@
<span class="label label-danger">banned</span> <span class="label label-danger">banned</span>
</div> </div>
<div id="user-actions"> <div id="user-actions">
<a id="follow-btn" href="#" class="btn hide">Follow</a> <a id="follow-btn" href="#" class="btn btn-default">Follow</a>
<a id="unfollow-btn" href="#" class="btn hide">Unfollow</a> <a id="unfollow-btn" href="#" class="btn btn-default">Unfollow</a>
</div> </div>
</div> </div>

@ -25,7 +25,7 @@
<span class='formatted-number'>{following.postcount}</span> <span class='formatted-number'>{following.postcount}</span>
<i class='icon-pencil'></i> <i class='icon-pencil'></i>
</div> </div>
<a id="unfollow-btn" href="#" class="btn unfollow-btn" followingUid="{following.uid}" data-username="{following.username}">Unfollow</a> <a id="unfollow-btn" href="#" class="btn btn-default unfollow-btn" followingUid="{following.uid}" data-username="{following.username}">Unfollow</a>
</div> </div>
<!-- END following --> <!-- END following -->
</div> </div>

Loading…
Cancel
Save