Fix base URL cleaning for IE.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Captain ALM 2022-07-30 17:02:12 +01:00
parent d9e37e4e2e
commit 38e5bad973
Signed by: alfred
GPG Key ID: 4E4ADD02609997B1
1 changed files with 1 additions and 0 deletions

View File

@ -77,6 +77,7 @@ function ToggleTheme() {
let thsty = document.getElementById("style-theme")
let logo = document.getElementById("logo")
let url = document.location.href
url = url.split("#", 1)
url = url.split('?', 1)
if (document.getElementById("so-theme")) {
thimg.src = SunImageURL