fix some bugs
This commit is contained in:
parent
607f83972d
commit
e8d5f33db2
4
sortt.js
4
sortt.js
@ -51,9 +51,9 @@ window.sortt=function(normsort,revsort,isdefault){
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (url_sort != normsort) {
|
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 != "") {
|
} 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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user