cleanup
This commit is contained in:
parent
7833ab0dcf
commit
4b59391a36
6
sortt.js
6
sortt.js
@ -3,7 +3,6 @@
|
||||
|
||||
@License MIT
|
||||
@Author 6543
|
||||
Credits to Stuart Langridge, http://www.kryogenix.org/code/browser/sortt/ and its contributors
|
||||
*/
|
||||
|
||||
//safe url sort param global
|
||||
@ -20,9 +19,6 @@ window.sortt=function(normsort,revsort,isdefault){
|
||||
if (typeof isdefault === 'undefined') isdefault = false;
|
||||
if (!(typeof isdefault === 'boolean')) isdefault = false;
|
||||
|
||||
// look at ReadMe
|
||||
console.log("sortTable() normsort:\"" + normsort + "\" revsort:\"" + revsort + "\" sortdefault:\"" + sortdefault + "\"");
|
||||
|
||||
// parse URL
|
||||
url_sort="";
|
||||
if (window.location.search.indexOf("sort=") < 0) {
|
||||
@ -35,5 +31,5 @@ window.sortt=function(normsort,revsort,isdefault){
|
||||
|
||||
|
||||
|
||||
|
||||
//window.location.replace("http://localhost:3000/admin/repos?sort=feweststars&q=&tab=");
|
||||
};
|
||||
|
Reference in New Issue
Block a user