master
Aevann1 2021-12-04 03:49:34 +02:00
parent 857f645e83
commit 5da014c781
3 changed files with 8 additions and 7 deletions

View File

@ -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=3"></script>
<script defer src="/assets/js/comments.js?v=4"></script>
<script>
window.addEventListener("load",function(event) {

View File

@ -125,12 +125,13 @@
<script defer src="https://cdn.jsdelivr.net/npm/clipboard@2.0.8/dist/clipboard.min.js"></script>
<script>
var clipboard = new ClipboardJS('.copy-link');
clipboard.on('success', function(e) {
var myToast = new bootstrap.Toast(document.getElementById('toast-success'));
myToast.show();
window.addEventListener("load",function(event) {
var clipboard = new ClipboardJS('.copy-link');
clipboard.on('success', function(e) {
var myToast = new bootstrap.Toast(document.getElementById('toast-success'));
myToast.show();
});
});
</script>
{% endblock %}

View File

@ -878,7 +878,7 @@
{% include "ban_modal.html" %}
{% endif %}
{% endif %}
<script defer src="/assets/js/comments.js?v=3"></script>
<script defer src="/assets/js/comments.js?v=4"></script>
{% include "expanded_image_modal.html" %}
{% endif %}