mirror of https://gitlab.com/bashrc2/epicyon
Content warning button tab index
parent
f0b9757bde
commit
9436b952b0
|
@ -166,7 +166,7 @@ def get_content_warning_button(post_id: 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="cw">' + \
|
return ' <details><summary class="cw" tabindex="10">' + \
|
||||||
translate['SHOW MORE'] + '</summary>' + \
|
translate['SHOW MORE'] + '</summary>' + \
|
||||||
'<div id="' + post_id + '">' + content + \
|
'<div id="' + post_id + '">' + content + \
|
||||||
'</div></details>\n'
|
'</div></details>\n'
|
||||||
|
|
Loading…
Reference in New Issue