Move onclick

master
Bob Mottram 2019-08-24 19:49:34 +01:00
parent 4921332f77
commit 245317bfcd
1 changed files with 3 additions and 3 deletions

View File

@ -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+ \