From fc2b9d333bba63258d5cafa36b2631229a3c4aeb Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 26 Jun 2020 10:30:29 +0000 Subject: [PATCH] Default delections when making new post --- webinterface.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/webinterface.py b/webinterface.py index 0cde5b7e..768e174c 100644 --- a/webinterface.py +++ b/webinterface.py @@ -2081,6 +2081,7 @@ def htmlNewPost(mediaInstance: bool, translate: {}, newPostForm += ' ' newPostForm += '' + selectedStr = ' selected' if inReplyTo or endpoint == 'newdm': if inReplyTo: newPostForm += \ @@ -2088,12 +2089,13 @@ def htmlNewPost(mediaInstance: bool, translate: {}, '
' else: newPostForm += \ - '
' + '
' newPostForm += \ ' ' + mentionsStr + '" selected>' newPostForm += '' + selectedStr = '' newPostForm += \ '
' @@ -2108,7 +2110,7 @@ def htmlNewPost(mediaInstance: bool, translate: {}, newPostForm += \ ' \n' + str(messageBoxHeight) + 'px"' + selectedStr + '>\n' newPostForm += extraFields+dateAndLocation if not mediaInstance or replyStr: newPostForm += newPostImageSection