Fix sorting URL setter.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
4c180c0966
commit
fd95d53702
3
index.js
3
index.js
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user