This commit is contained in:
Aevann1 2022-04-11 12:44:33 +02:00
parent d123252c74
commit 1a7485a24b
8 changed files with 2 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

View file

@ -4,7 +4,7 @@
{% set image=sub.sidebar_url %}
{% else %}
{% set path = "assets/images/" + SITE_NAME + "/sidebar" %}
{% set image = "/" + path + "/" + listdir('files/' + path)|random() + '?v=39' %}
{% set image = "/" + path + "/" + listdir('files/' + path)|random() + '?v=40' %}
{% endif %}
<img class="mb-4" alt="sidebar image" role="button" data-bs-toggle="modal" data-bs-target="#expandImageModal" onclick="expandDesktopImage('{{image}}')" loading="lazy" src="{{image}}" width=100%>

View file

@ -39,7 +39,7 @@
{% if not (v and v.has_badge(128)) %}
<script>
fart = Math.floor(Math.random() * 4) + 1
let audio = new Audio(`/assets/${fart}.mp3`);
let audio = new Audio(`/assets/images/${fart}.webp`);
audio.play();
if (audio.paused) {