Don't show dropdown on search avatar

This commit is contained in:
bashrc committed 2019-07-30 23:36:26 +01:00
1 parent bcd6278e82
commit 82a8032b6c
1 file changed
+1 -1
+1 -1
View File
@@ -481,7 +481,7 @@ def individualPostAsHtml(baseDir: str, \
' <a href="'+postJsonObject['actor']+'">' \
' <img src="'+avatarUrl+'" title="Show profile" alt="Avatar"'+avatarPosition+'/></a>'
if fullDomain+'/users/'+nickname not in postJsonObject['actor']:
if showAvatarDropdown and fullDomain+'/users/'+nickname not in postJsonObject['actor']:
# if not following then show "Follow" in the dropdown
followUnfollowStr='<a href="/users/'+nickname+'?follow='+postJsonObject['actor']+';'+avatarUrl+'">Follow</a>'
# if following then show "Unfollow" in the dropdown