Don't need dropdown script if not using it

master
Bob Mottram 2019-08-25 11:14:36 +01:00
parent bea8d2813c
commit 7e0684cd79
1 changed files with 2 additions and 1 deletions

View File

@ -674,6 +674,7 @@ def htmlNewPost(baseDir: str,path: str,inReplyTo: str,mentions: [],reportUrl: st
' </div>' \
'</form>'
if not reportUrl:
newPostForm+='<script>'+clickToDropDownScript()+'</script>'
newPostForm+=htmlFooter()