Fix sorting URL setter.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Captain ALM 2022-07-30 21:07:22 +01:00
parent 4c180c0966
commit fd95d53702
Signed by: alfred
GPG Key ID: 4E4ADD02609997B1
1 changed files with 2 additions and 1 deletions

View File

@ -241,7 +241,8 @@ function EntrySort(o, s) {
}
if (chg) {
TheParameters = "order="+OrderValue+"&sort="+SortValue
var url = url.split("#", 1)[0].split('?', 1)[0]
var url = document.location.href
url = url.split("#", 1)[0].split('?', 1)[0]
if (document.getElementById("so-theme")) {
ReplaceHistory(url+"?light&"+TheParameters)
} else {