From 7e0684cd79a3aeb02562fda78eb3c61e9a45e8ef Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 25 Aug 2019 11:14:36 +0100 Subject: [PATCH] Don't need dropdown script if not using it --- webinterface.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webinterface.py b/webinterface.py index d1a84fd79..8b3f691be 100644 --- a/webinterface.py +++ b/webinterface.py @@ -674,7 +674,8 @@ def htmlNewPost(baseDir: str,path: str,inReplyTo: str,mentions: [],reportUrl: st ' ' \ '' - newPostForm+='' + if not reportUrl: + newPostForm+='' newPostForm+=htmlFooter() return newPostForm