fds
This commit is contained in:
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 |
Binary file not shown.
Before Width: | Height: | Size: 6.9 KiB |
|
@ -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…
Add table
Add a link
Reference in a new issue