mirror of https://gitlab.com/bashrc2/epicyon
Reverse logic
parent
e27c4a6a98
commit
0a6489cffe
|
@ -2147,7 +2147,7 @@ def contentWarningScriptOpen() -> str:
|
||||||
"""
|
"""
|
||||||
script='function showContentWarning(postID) {\n'
|
script='function showContentWarning(postID) {\n'
|
||||||
script+=' var x = document.getElementById(postID);\n'
|
script+=' var x = document.getElementById(postID);\n'
|
||||||
script+=' x.style.display = "none";\n'
|
script+=' x.style.display = "block";\n'
|
||||||
script+='}\n'
|
script+='}\n'
|
||||||
return script
|
return script
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue