vdfs
This commit is contained in:
parent
eefa10cc2d
commit
d15f7eaf0a
4 changed files with 9 additions and 3 deletions
|
@ -14,8 +14,12 @@ function expandDesktopImage(image) {
|
||||||
document.getElementById("desktop-expanded-image").src = image.replace("200w_d.webp", "giphy.webp");
|
document.getElementById("desktop-expanded-image").src = image.replace("200w_d.webp", "giphy.webp");
|
||||||
document.getElementById("desktop-expanded-image-link").href = image;
|
document.getElementById("desktop-expanded-image-link").href = image;
|
||||||
document.getElementById("desktop-expanded-image-wrap-link").href=image;
|
document.getElementById("desktop-expanded-image-wrap-link").href=image;
|
||||||
|
history.pushState(null, null, '#modal');
|
||||||
};
|
};
|
||||||
|
|
||||||
|
document.getElementById('expandImageModal').addEventListener('hidden.bs.modal', function (event) {
|
||||||
|
window.location.hash = "";
|
||||||
|
});
|
||||||
|
|
||||||
function popovertrigger() {
|
function popovertrigger() {
|
||||||
const popoverTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]'));
|
const popoverTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]'));
|
||||||
|
|
|
@ -857,7 +857,7 @@
|
||||||
|
|
||||||
{% include "expanded_image_modal.html" %}
|
{% include "expanded_image_modal.html" %}
|
||||||
|
|
||||||
<script src="/static/assets/js/comments+submission_listing.js?a=6"></script>
|
<script src="/static/assets/js/comments+submission_listing.js?a=7"></script>
|
||||||
<script src="/static/assets/js/comments.js?a=4"></script>
|
<script src="/static/assets/js/comments.js?a=4"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
|
@ -26,3 +26,5 @@
|
||||||
margin: 2.5rem !important;
|
margin: 2.5rem !important;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<script>
|
||||||
|
</script>
|
||||||
|
|
|
@ -698,5 +698,5 @@
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script src="/static/assets/js/clipboard.js?a=3"></script>
|
<script src="/static/assets/js/clipboard.js?a=3"></script>
|
||||||
<script src="/static/assets/js/comments+submission_listing.js?a=6"></script>
|
<script src="/static/assets/js/comments+submission_listing.js?a=7"></script>
|
||||||
<script src="/static/assets/js/submission_listing.js?a=3"></script>
|
<script src="/static/assets/js/submission_listing.js?a=3"></script>
|
Loading…
Add table
Add a link
Reference in a new issue