Containers for reaction emoji categories

main
Bob Mottram 2021-11-11 22:37:34 +00:00
parent 1d5aef49f5
commit 00aa32082b
1 changed files with 3 additions and 2 deletions

View File

@ -2221,10 +2221,11 @@ def htmlEmojiReactionPicker(cssCache: {},
if not os.path.isfile(reactionsFilename):
reactionsFilename = baseDir + '/emoji/default_reactions.json'
reactionsJson = loadJson(reactionsFilename)
emojiPicksStr = '<br><div class="container">\n'
emojiPicksStr = ''
baseUrl = '/users/' + nickname
postId = removeIdEnding(postJsonObject['id'])
for category, item in reactionsJson.items():
emojiPicksStr = '<br><div class="container">\n'
for emojiContent in item:
emojiContentEncoded = urllib.parse.quote_plus(emojiContent)
emojiUrl = \