.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Captain ALM 2022-07-30 23:51:30 +01:00
parent 0263964326
commit 122faaae85
Signed by: alfred
GPG Key ID: 4E4ADD02609997B1

View File

@ -93,7 +93,6 @@ function PushHistory(url) {
var s = true
if (window.history) {
if (window.history.pushState) {
ReplaceHistory(url)
window.history.pushState({
light: !!document.getElementById("so-theme"),
order: document.getElementById("so-order").value,
@ -111,6 +110,7 @@ function CToggleTheme() {
ToggleTheme(true)
}
function ToggleTheme(p) {
if (p) {cReplaceHistory();}
var th = document.getElementById("theme")
var thimg = document.getElementById("theme-img")
var thsty = document.getElementById("style-theme")