mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-11-01 02:15:12 +00:00
Like button only highlighted if the reader likes the post
This commit is contained in:
1 parent
e61bf9bed1
commit
07a07d877a
1 file changed
+1
-1
+1
-1
@@ -4219,8 +4219,8 @@ def individualPostAsHtml(allowDownloads: bool,
|
||||
likeCountStr = ' (' + str(likeCount) + ')'
|
||||
else:
|
||||
likeCountStr = ' (10+)'
|
||||
likeIcon = 'like.png'
|
||||
if likedByPerson(postJsonObject, nickname, fullDomain):
|
||||
likeIcon = 'like.png'
|
||||
likeLink = 'unlike'
|
||||
likeTitle = translate['Undo the like']
|
||||
|
||||
|
||||
Reference in new issue
Block a user