mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-26 07:19:25 -05:00
Restrict show_friends to only display [F] in div.content
This commit is contained in:
@@ -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 + "]");
|
||||
|
||||
Reference in New Issue
Block a user