diff --git a/webinterface.py b/webinterface.py index 10c4d7831..7f6c4cfa6 100644 --- a/webinterface.py +++ b/webinterface.py @@ -134,6 +134,11 @@ def htmlNewPost(baseDir: str,path: str,inReplyTo: str) -> str: '' newPostForm=htmlHeader(newPostCSS) + + # only show the share option if this is not a reply + shareOptionOnDropdown='' + if not replyStr: + shareOptionOnDropdown='Share
Describe a shared item
' newPostForm+= \ '
' \ '
' \ @@ -145,8 +150,8 @@ def htmlNewPost(baseDir: str,path: str,inReplyTo: str) -> str: ' Public
Visible to anyone
' \ ' Unlisted
Not on public timeline
' \ ' Followers Only
Only to followers
' \ - ' Direct Message
Only to mentioned people
' \ - ' Share
Describe a shared item
' \ + ' Direct Message
Only to mentioned people
'+ \ + shareOptionOnDropdown+ \ '
' \ ' ' \ ' ' \