aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorFChannel <>2021-06-28 20:37:21 -0700
committerFChannel <>2021-06-28 20:37:21 -0700
commit2e53eddedd4b3e5c444bea5a101a719cba3a4cc9 (patch)
tree53877a9ea67446835891c954a05994e03ffbb10e /static
parent6a1851cd77f09dacb6c84205c65ee17866a083db (diff)
null element missing id value
Diffstat (limited to 'static')
-rw-r--r--static/posts.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/static/posts.html b/static/posts.html
index a086bdb..8052767 100644
--- a/static/posts.html
+++ b/static/posts.html
@@ -107,8 +107,8 @@
<a href="/marksensitive?id={{ .Id }}&board={{ $board.Actor.Name }}">[Mark Sensitive]</a>
{{ end }}
<span style="display: block;">File <a id="{{ .Id }}-img" href="{{ (index .Attachment 0).Href}}">{{ (index .Attachment 0).Name }}</a> <span id="{{ .Id }}-size">({{ (index .Attachment 0).Size }})</span></span>
- <div id="hide-{{ .Id }}" style="display: none;">[Hide]</div>
- <div id="sensitive-{{ .Id }}" style="display: none;"><div style="position: relative; text-align: center;"><img style="float: left; margin-right: 10px; margin-bottom: 10px; max-width: 250px; max-height: 250px;" src="/static/sensitive.png"><div style="width: 240px; position: absolute; margin-top: 110px; padding: 5px; background-color: black; color: white; cursor: default; ">NSFW Content</div></div></div>
+ <div id="hide-{{ .Id }}" style="display: none;">[Hide]</div>
+ <div id="sensitive-{{ .Id }}" style="display: none;"><div style="position: relative; text-align: center;"><img id="sensitive-img-{{ .Id }}" style="float: left; margin-right: 10px; margin-bottom: 10px; max-width: 250px; max-height: 250px;" src="/static/sensitive.png"><div id="sensitive-text-{{ .Id }}" style="width: 240px; position: absolute; margin-top: 110px; padding: 5px; background-color: black; color: white; cursor: default; ">NSFW Content</div></div></div>
<div> </div>
<div id="media-{{ .Id }}" sensitive="0"></div>
<script>