forked from rDrama/rDrama
sfdsdf
parent
29fe415601
commit
9e715885b1
|
@ -749,7 +749,7 @@
|
|||
|
||||
{% if v %}
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/marked@3.0.8/lib/marked.min.js"></script>
|
||||
<script defer src="/assets/js/comments_v.js?v=77"></script>
|
||||
<script defer src="/assets/js/comments_v.js?v=78"></script>
|
||||
{% endif %}
|
||||
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/clipboard@2.0.8/dist/clipboard.min.js"></script>
|
||||
|
@ -761,7 +761,7 @@
|
|||
{% include "expanded_image_modal.html" %}
|
||||
|
||||
<script defer src="/assets/js/popover.js?v=9"></script>
|
||||
<script defer src="/assets/js/comments.js?v=4"></script>
|
||||
<script defer src="/assets/js/comments.js?v=5"></script>
|
||||
|
||||
<script>
|
||||
window.addEventListener("load",function(event) {
|
||||
|
@ -793,6 +793,14 @@
|
|||
{% endfor %}
|
||||
})()
|
||||
});
|
||||
|
||||
{% if not v %}
|
||||
function poll_vote(cid, parentid) {
|
||||
var myToast = new bootstrap.Toast(document.getElementById('toast-post-error'));
|
||||
myToast.show();
|
||||
document.getElementById('toast-post-error-text').innerText = "Only logged-in users can vote!";
|
||||
}
|
||||
{% endif %}
|
||||
</script>
|
||||
|
||||
</body>
|
|
@ -870,7 +870,7 @@
|
|||
|
||||
{% if not p.comment_count %}
|
||||
{% if v %}
|
||||
<script defer src="/assets/js/comments_v.js?v=77"></script>
|
||||
<script defer src="/assets/js/comments_v.js?v=78"></script>
|
||||
{% include "award_modal.html" %}
|
||||
{% include "emoji_modal.html" %}
|
||||
{% include "gif_modal.html" %}
|
||||
|
@ -878,7 +878,7 @@
|
|||
{% include "ban_modal.html" %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
<script defer src="/assets/js/comments.js?v=4"></script>
|
||||
<script defer src="/assets/js/comments.js?v=5"></script>
|
||||
{% include "expanded_image_modal.html" %}
|
||||
{% endif %}
|
||||
|
||||
|
@ -896,6 +896,13 @@
|
|||
mouseOver: "multiply"
|
||||
});
|
||||
});
|
||||
{% if not v %}
|
||||
function poll_vote(cid, parentid) {
|
||||
var myToast = new bootstrap.Toast(document.getElementById('toast-post-error'));
|
||||
myToast.show();
|
||||
document.getElementById('toast-post-error-text').innerText = "Only logged-in users can vote!";
|
||||
}
|
||||
{% endif %}
|
||||
</script>
|
||||
{% endif %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue