forked from indymedia/epicyon
Move onclick
parent
4921332f77
commit
245317bfcd
|
@ -1228,7 +1228,7 @@ def individualPostAsHtml(baseDir: str, \
|
||||||
|
|
||||||
avatarDropdown= \
|
avatarDropdown= \
|
||||||
' <a href="'+postJsonObject['actor']+'">' \
|
' <a href="'+postJsonObject['actor']+'">' \
|
||||||
' <img onclick="dropdown()" src="'+avatarUrl+'" title="Show profile" alt="Avatar"'+avatarPosition+'/></a>'
|
' <img src="'+avatarUrl+'" title="Show profile" alt="Avatar"'+avatarPosition+'/></a>'
|
||||||
|
|
||||||
if showAvatarDropdown and 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
|
# if not following then show "Follow" in the dropdown
|
||||||
|
@ -1252,8 +1252,8 @@ def individualPostAsHtml(baseDir: str, \
|
||||||
reportStr='<a href="/users/'+nickname+'/newreport?url='+messageId+';'+avatarUrl+'">Report</a>'
|
reportStr='<a href="/users/'+nickname+'/newreport?url='+messageId+';'+avatarUrl+'">Report</a>'
|
||||||
|
|
||||||
avatarDropdown= \
|
avatarDropdown= \
|
||||||
' <div class="dropdown-timeline">' \
|
' <div onclick="dropdown()" class="dropdown-timeline">' \
|
||||||
' <img onclick="dropdown()" src="'+avatarUrl+'" '+avatarPosition+'/>' \
|
' <img src="'+avatarUrl+'" '+avatarPosition+'/>' \
|
||||||
' <div class="dropdown-timeline-content">' \
|
' <div class="dropdown-timeline-content">' \
|
||||||
' <a href="'+postJsonObject['actor']+'">Visit</a>'+ \
|
' <a href="'+postJsonObject['actor']+'">Visit</a>'+ \
|
||||||
followUnfollowStr+blockUnblockStr+reportStr+ \
|
followUnfollowStr+blockUnblockStr+reportStr+ \
|
||||||
|
|
Loading…
Reference in New Issue