diff --git a/sortt.js b/sortt.js index 2b161e7..2510120 100644 --- a/sortt.js +++ b/sortt.js @@ -4,7 +4,7 @@ @License MIT @Author 6543 @Repository https://gitea.com/6543/gitea_sortt - @Version 1.0 + @Version 1.1 */ @@ -13,10 +13,10 @@ window.sortt=function(normsort,revsort,isdefault){ //sortTable [normsort] (revsort) (isdefault) //normsort is needet - if (normsort) return false; + if (!(normsort)) return false; //default values of optinal parameters - if (revsort) revsort = ""; + if (!(revsort)) revsort = ""; // parse URL /* script check if url has already a sort=