forked from rDrama/rDrama
do this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4070091#context
parent
9c0e49ebe1
commit
b571a71f44
|
@ -1,8 +1,10 @@
|
|||
const vid = document.getElementById('vid').value
|
||||
|
||||
function expandText(id) {
|
||||
const toggling = document.getElementById('post-text-'+id)
|
||||
const attr = "d-none";
|
||||
|
||||
if (toggling.classList.contains(attr)) {
|
||||
if (vid != 2453 && toggling.classList.contains(attr)) {
|
||||
document.querySelectorAll(".toggled-visible").forEach(i => {
|
||||
i.classList.add(attr)
|
||||
i.classList.remove("toggled-visible")
|
||||
|
|
|
@ -29,6 +29,12 @@
|
|||
{% endblock %}
|
||||
</head>
|
||||
<body {% block body_attributes %}id="{%block pagetype %}{% endblock %}"{% endblock %}>
|
||||
{% if v %}
|
||||
<input id="vid" hidden value="{{v.id}}">
|
||||
{% else %}
|
||||
<input id="vid" hidden value="">
|
||||
{% endif %}
|
||||
|
||||
<input hidden id="gnonce" value="{{g.nonce}}">
|
||||
<input hidden id="gbrowser" value="{{g.browser}}">
|
||||
<input hidden id="IMAGE_FORMATS" value="{{IMAGE_FORMATS}}">
|
||||
|
|
Loading…
Reference in New Issue