diff --git a/sortt.js b/sortt.js index fa36386..cd3c2fb 100644 --- a/sortt.js +++ b/sortt.js @@ -4,7 +4,7 @@ @License MIT @Author 6543 @Repository https://gitea.com/6543/gitea_sortt - @Version 1.2.1 + @Version 1.3.0 */ @@ -87,7 +87,7 @@ if(!window.jQuery) { console.log("sortt.js: ERROR no jQuery found!"); } else { - //use JQuery to bind event on each with a "data-sortt" attribute + //use JQuery to go throu each table header with "data-sortt" attribute $('th').each(function() { //if data attribute sortt is set if ($(this)[0].dataset.sortt) { @@ -108,4 +108,5 @@ if(!window.jQuery) { } } }); + }