Drop the cw classes

main
Bob Mottram 2020-06-25 13:58:12 +01:00
parent e1da050f3f
commit bac3fc63f3
1 changed files with 2 additions and 2 deletions

View File

@ -79,9 +79,9 @@ def getContentWarningButton(postID: str, translate: {},
content: str) -> str: content: str) -> str:
"""Returns the markup for a content warning button """Returns the markup for a content warning button
""" """
return '<details><summary class="cwButton">' + \ return '<details><summary>' + \
translate['SHOW MORE'] + '</summary>' + \ translate['SHOW MORE'] + '</summary>' + \
'<div class="cwText" id="' + postID + '">' + content + \ '<div id="' + postID + '">' + content + \
'</div></details>' '</div></details>'