forked from rDrama/rDrama
fix
parent
9f2c4a6e34
commit
00c7ca4105
|
@ -444,16 +444,8 @@
|
||||||
<script defer src="/assets/js/popover.js?v=9"></script>
|
<script defer src="/assets/js/popover.js?v=9"></script>
|
||||||
<script defer src="/assets/js/submission_listing.js?v=2"></script>
|
<script defer src="/assets/js/submission_listing.js?v=2"></script>
|
||||||
|
|
||||||
{% for p in listing %}
|
<script defer>
|
||||||
<script>
|
|
||||||
(() => {
|
(() => {
|
||||||
const date = new Date({{p.created_utc*1000}});
|
|
||||||
document.getElementById('timestamp-{{p.id}}').title = date.toString();
|
|
||||||
{% if p.edited_utc %}
|
|
||||||
const dateEdited = new Date({{p.edited_utc*1000}});
|
|
||||||
document.getElementById('edited_timestamp-{{p.id}}').title = dateEdited.toString();
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if (not v or v.highlightcomments) %}
|
{% if (not v or v.highlightcomments) %}
|
||||||
showNewCommentCounts('{{p.id}}', {{p.comment_count}})
|
showNewCommentCounts('{{p.id}}', {{p.comment_count}})
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -468,7 +460,6 @@
|
||||||
{%endif%}
|
{%endif%}
|
||||||
})()
|
})()
|
||||||
</script>
|
</script>
|
||||||
{% endfor %}
|
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.mod:before {
|
.mod:before {
|
||||||
|
|
Loading…
Reference in New Issue