master
kek7198 2021-12-19 17:35:35 -06:00
parent 1af4e92866
commit d4fbf8c422
2 changed files with 3 additions and 3 deletions

View File

@ -348,7 +348,7 @@
<script>function formkey() {return '{{v.formkey}}';}</script>
<script>
var previousTheme = '{{ v.theme }}'.split(' ');
var previousTheme = '{{ v.theme2 }}'.split(' ');
function changeTheme(theme) {
const body = document.body;
// if previous selection has a value, remove them from body tag

View File

@ -58,7 +58,7 @@
</head>
{% if v and (v.theme2 == 'theme-iron dark' or v.theme2 == 'theme-evergreen') %}
{% set theme = v.them2e %}
{% set theme = v.theme2 %}
{% else %}
{% set theme = 'theme-iron dark' %}
{% endif %}
@ -223,7 +223,7 @@
<script>function formkey() {return '{{v.formkey}}';}</script>
<script>
var previousTheme = '{{ v.theme }}'.split(' ');
var previousTheme = '{{ v.theme2 }}'.split(' ');
function changeTheme(theme) {
const body = document.body;
// if previous selection has a value, remove them from body tag