forked from MarseyWorld/MarseyWorld
fds
parent
8f71414bc4
commit
d9ebb86d37
|
@ -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%>
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue