forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2021-12-05 00:43:39 +02:00
parent 8d4fad12f5
commit 7edabe847f
1 changed files with 33 additions and 39 deletions

View File

@ -831,7 +831,6 @@
</div>
<script>
window.addEventListener("load",function(event) {
(() => {
{% if (not v or v.highlightcomments) %}
showNewCommentCounts('{{p.id}}', {{p.comment_count}})
@ -853,7 +852,6 @@
{%endif%}
{%endif%}
})()
});
</script>
{% if v and v.id==p.author_id %}
@ -878,7 +876,7 @@
{% include "ban_modal.html" %}
{% endif %}
{% endif %}
<script src="/assets/js/comments.js?v=7"></script>
<script src="/assets/js/comments.js?v=8"></script>
{% include "expanded_image_modal.html" %}
{% endif %}
@ -887,7 +885,6 @@
{% set minbugs = 10*p.award_count("shit") if p.award_count("shit") < 3 else 20 %}
{% set maxbugs = 20*p.award_count("shit") if p.award_count("shit") < 3 else 40 %}
<script>
window.addEventListener("load",function(event) {
new BugController({
imageSprite: "/assets/images/fly-sprite.webp",
canDie: false,
@ -895,7 +892,6 @@
maxBugs: {{maxbugs}},
mouseOver: "multiply"
});
});
{% if not v %}
function poll_vote(cid, parentid) {
var myToast = new bootstrap.Toast(document.getElementById('toast-post-error'));
@ -912,7 +908,6 @@
{% set minbugs = 10*p.award_count("fireflies") if p.award_count("fireflies") < 3 else 20 %}
{% set maxbugs = 20*p.award_count("fireflies") if p.award_count("fireflies") < 3 else 40 %}
<script>
window.addEventListener("load",function(event) {
new BugController({
imageSprite: "/assets/images/fireflies.webp",
canDie: false,
@ -920,7 +915,6 @@
maxBugs: {{maxbugs}},
mouseOver: "multiply"
});
});
</script>
{% endif %}