mirror of https://gitlab.com/bashrc2/epicyon
Like button only highlighted if the reader likes the post
parent
e61bf9bed1
commit
07a07d877a
|
@ -4219,8 +4219,8 @@ def individualPostAsHtml(allowDownloads: bool,
|
||||||
likeCountStr = ' (' + str(likeCount) + ')'
|
likeCountStr = ' (' + str(likeCount) + ')'
|
||||||
else:
|
else:
|
||||||
likeCountStr = ' (10+)'
|
likeCountStr = ' (10+)'
|
||||||
likeIcon = 'like.png'
|
|
||||||
if likedByPerson(postJsonObject, nickname, fullDomain):
|
if likedByPerson(postJsonObject, nickname, fullDomain):
|
||||||
|
likeIcon = 'like.png'
|
||||||
likeLink = 'unlike'
|
likeLink = 'unlike'
|
||||||
likeTitle = translate['Undo the like']
|
likeTitle = translate['Undo the like']
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue