forked from indymedia/epicyon
Drop the cw classes
parent
e1da050f3f
commit
bac3fc63f3
|
@ -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>'
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue