Restrict show_friends to only display [F] in div.content

This commit is contained in:
ughblah
2012-03-19 20:13:48 -05:00
committed by Neil Williams
parent ee28a0f321
commit 9886db8de9

View File

@@ -1242,7 +1242,7 @@ $(function() {
function show_friend(account_fullname) {
var label = '<a class="friend" title="friend" href="/prefs/friends">F</a>';
var ua = $(".author.id-" + account_fullname).addClass("friend")
var ua = $("div.content .author.id-" + account_fullname).addClass("friend")
.next(".userattrs").each(function() {
if (!$(this).html()) {
$(this).html(" [" + label + "]");