fix some bugs

This commit is contained in:
6543 2019-08-27 17:56:10 +02:00
parent 607f83972d
commit e8d5f33db2
Signed by: 6543
GPG Key ID: A1CA74D27FD13271

View File

@ -51,9 +51,9 @@ window.sortt=function(normsort,revsort,isdefault){
}

if (url_sort != normsort) {
url_new = tmp.substr(0,window.location.search.indexOf("sort=")+5) + normsort + tmp;
url_new += window.location.search.substr(0,window.location.search.indexOf("sort=")+5) + normsort + tmp;
} else if (revsort != "") {
url_new = tmp.substr(0,window.location.search.indexOf("sort=")+5) + revsort + tmp;
url_new += window.location.search.substr(0,window.location.search.indexOf("sort=")+5) + revsort + tmp;
}
}