forked from rDrama/rDrama
fix
parent
e9702fdb61
commit
c2fd73d27c
|
@ -444,25 +444,6 @@
|
||||||
<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>
|
||||||
|
|
||||||
<script>
|
|
||||||
window.addEventListener("load",function(event) {
|
|
||||||
(() => {
|
|
||||||
{% if (not v) %}
|
|
||||||
showNewCommentCounts('{{p.id}}', {{p.comment_count}})
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if p.stickied %}
|
|
||||||
const pinned_info = document.getElementById('pinned-{{p.id}}')
|
|
||||||
{% if p.stickied.startswith('t:') %}
|
|
||||||
pinned_info.setAttribute("data-bs-original-title", `Pinned until ${new Date({{p.stickied[2:]}} * 1000).toString()}`)
|
|
||||||
{% else %}
|
|
||||||
pinned_info.setAttribute("data-bs-original-title", "Pinned by @{{p.stickied}}")
|
|
||||||
{%endif%}
|
|
||||||
{%endif%}
|
|
||||||
})()
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.mod:before {
|
.mod:before {
|
||||||
content: '(((';
|
content: '(((';
|
||||||
|
|
Loading…
Reference in New Issue