master
Aevann1 2022-04-11 12:44:33 +02:00
parent 8f71414bc4
commit d9ebb86d37
2 changed files with 2 additions and 2 deletions

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) {