more
This commit is contained in:
parent
d051ac77f7
commit
686cfb7831
@ -44,11 +44,8 @@
|
||||
<span id="post_body_{{post.PostHash}}" class="message_span">{{{post.RenderBody}}}</span>
|
||||
{{#post.OP}}
|
||||
<script type="text/javascript">
|
||||
var j = fetch("/api/find?hash={{post.PostHash}}").then(function(resp) {
|
||||
return resp.json();
|
||||
}).catch(function(resp) {
|
||||
return [];
|
||||
});
|
||||
fetch("/api/find?hash={{post.PostHash}}").then(function(resp) {
|
||||
var j= resp.json();
|
||||
console.log(j);
|
||||
if (j.legnth) {
|
||||
var e = document.getElementById("post_body_{{post.PostHash}}");
|
||||
@ -62,6 +59,9 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}).catch(function(resp) {
|
||||
|
||||
});
|
||||
</script>
|
||||
{{/post.OP}}
|
||||
<br style="clear: both;" />
|
||||
|
Reference in New Issue
Block a user