forked from rDrama/rDrama
sefd
parent
8d4fad12f5
commit
7edabe847f
|
@ -831,7 +831,6 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
window.addEventListener("load",function(event) {
|
|
||||||
(() => {
|
(() => {
|
||||||
{% if (not v or v.highlightcomments) %}
|
{% if (not v or v.highlightcomments) %}
|
||||||
showNewCommentCounts('{{p.id}}', {{p.comment_count}})
|
showNewCommentCounts('{{p.id}}', {{p.comment_count}})
|
||||||
|
@ -853,7 +852,6 @@
|
||||||
{%endif%}
|
{%endif%}
|
||||||
{%endif%}
|
{%endif%}
|
||||||
})()
|
})()
|
||||||
});
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{% if v and v.id==p.author_id %}
|
{% if v and v.id==p.author_id %}
|
||||||
|
@ -878,7 +876,7 @@
|
||||||
{% include "ban_modal.html" %}
|
{% include "ban_modal.html" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% 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" %}
|
{% include "expanded_image_modal.html" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -887,7 +885,6 @@
|
||||||
{% set minbugs = 10*p.award_count("shit") if p.award_count("shit") < 3 else 20 %}
|
{% 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 %}
|
{% set maxbugs = 20*p.award_count("shit") if p.award_count("shit") < 3 else 40 %}
|
||||||
<script>
|
<script>
|
||||||
window.addEventListener("load",function(event) {
|
|
||||||
new BugController({
|
new BugController({
|
||||||
imageSprite: "/assets/images/fly-sprite.webp",
|
imageSprite: "/assets/images/fly-sprite.webp",
|
||||||
canDie: false,
|
canDie: false,
|
||||||
|
@ -895,7 +892,6 @@
|
||||||
maxBugs: {{maxbugs}},
|
maxBugs: {{maxbugs}},
|
||||||
mouseOver: "multiply"
|
mouseOver: "multiply"
|
||||||
});
|
});
|
||||||
});
|
|
||||||
{% if not v %}
|
{% if not v %}
|
||||||
function poll_vote(cid, parentid) {
|
function poll_vote(cid, parentid) {
|
||||||
var myToast = new bootstrap.Toast(document.getElementById('toast-post-error'));
|
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 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 %}
|
{% set maxbugs = 20*p.award_count("fireflies") if p.award_count("fireflies") < 3 else 40 %}
|
||||||
<script>
|
<script>
|
||||||
window.addEventListener("load",function(event) {
|
|
||||||
new BugController({
|
new BugController({
|
||||||
imageSprite: "/assets/images/fireflies.webp",
|
imageSprite: "/assets/images/fireflies.webp",
|
||||||
canDie: false,
|
canDie: false,
|
||||||
|
@ -920,8 +915,7 @@
|
||||||
maxBugs: {{maxbugs}},
|
maxBugs: {{maxbugs}},
|
||||||
mouseOver: "multiply"
|
mouseOver: "multiply"
|
||||||
});
|
});
|
||||||
});
|
</script>
|
||||||
</script>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue