forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2021-12-19 15:06:53 +02:00
parent 0980658c37
commit a64056a4ff
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@
<h2 class="label text-black">Use Old Site</h2>
<div class="mb-4">
<input type="checkbox" id="oldsite" name="oldsite"{% if v.oldsite%} checked{% endif %} onchange="post_toast('/settings/profile?oldsite='+document.getElementById('oldsite').checked);location.reload(true)">
<input type="checkbox" id="oldsite" name="oldsite"{% if v.oldsite%} checked{% endif %} onchange="post_toast('/settings/profile?oldsite='+document.getElementById('oldsite').checked, 1)">
<label for="oldsite" class="inline-block pl-2 text-gray-400">Use the old version of the site.</label>
</div>

View File

@ -52,7 +52,7 @@
<div class="body w-lg-100">
<div class="custom-control custom-switch">
<input type="checkbox" class="custom-control-input" id="oldsite" name="oldsite"{% if v.oldsite %} checked{% endif %} onchange="post_toast('/settings/profile?oldsite='+document.getElementById('oldsite').checked);location.reload(true)">
<input type="checkbox" class="custom-control-input" id="oldsite" name="oldsite"{% if v.oldsite %} checked{% endif %} onchange="post_toast('/settings/profile?oldsite='+document.getElementById('oldsite').checked, 1)">
<label class="custom-control-label" for="oldsite"></label>
</div>