forked from MarseyWorld/MarseyWorld
parent
ad1273995d
commit
14d2845f93
|
@ -84,12 +84,10 @@
|
|||
<label class="custom-control-label" for="bots">Bots</label>
|
||||
</div>
|
||||
|
||||
{% if SITE_NAME == 'rDrama' %}
|
||||
<div class="custom-control custom-switch">
|
||||
<input autocomplete="off" type="checkbox" class="custom-control-input" id="Fart mode" {% if site_settings['Fart mode'] %}checked{% endif %} onchange="post_toast(this,'/admin/site_settings/Fart mode');">
|
||||
<label class="custom-control-label" for="Fart mode">Fart mode</label>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="custom-control custom-switch">
|
||||
<input autocomplete="off" type="checkbox" class="custom-control-input" id="Read-only mode" {% if site_settings['Read-only mode'] %}checked{% endif %} onchange="post_toast(this,'/admin/site_settings/Read-only mode');">
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
</script>
|
||||
{% endif %}
|
||||
|
||||
{% if fart and not (v and v.has_badge(128)) and SITE_NAME == 'rDrama' %}
|
||||
{% if fart and not (v and v.has_badge(128)) %}
|
||||
<script>
|
||||
fart = Math.floor(Math.random() * 5) + 1
|
||||
let audio = new Audio(`/assets/images/${fart}.webp`);
|
||||
|
|
Loading…
Reference in New Issue