remotes/1693045480750635534/spooky-22
Aevann1 2022-01-16 01:23:36 +02:00
parent 07579590e3
commit b4f082da0d
2 changed files with 2 additions and 2 deletions

View File

@ -159,7 +159,7 @@ def sanitize(sanitized, noimages=False, alert=False, comment=False):
tag["data-src"] = tag["src"]
tag["src"] = "/static/assets/images/loading.webp"
tag['alt'] = f'![]({tag["data-src"]})'
tag["onclick"] = f"expandDesktopImage(this.dataset.src);"
tag["onclick"] = f"expandDesktopImage(this.src);"
tag["data-bs-toggle"] = "modal"
tag["data-bs-target"] = "#expandImageModal"

View File

@ -848,7 +848,7 @@
{% if v %}
<script src="/static/assets/js/marked.js?a=3"></script>
<script src="/static/assets/js/comments_v.js?a=11"></script>
<script src="/static/assets/js/comments_v.js?a=12"></script>
{% endif %}
<script src="/static/assets/js/clipboard.js?a=3"></script>