ready for release v1.3.0

* add arrow to active colum header
 * update docu
This commit is contained in:
6543 2019-09-18 21:41:24 +02:00
parent 4e47ba7367
commit 2dcf9a93e2
Signed by: 6543
GPG Key ID: A1CA74D27FD13271

View File

@ -4,7 +4,7 @@
@License MIT @License MIT
@Author 6543 @Author 6543
@Repository https://gitea.com/6543/gitea_sortt @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!"); console.log("sortt.js: ERROR no jQuery found!");
} else { } else {


//use JQuery to bind event on each <th> with a "data-sortt" attribute //use JQuery to go throu each table header with "data-sortt" attribute
$('th').each(function() { $('th').each(function() {
//if data attribute sortt is set //if data attribute sortt is set
if ($(this)[0].dataset.sortt) { if ($(this)[0].dataset.sortt) {
@ -108,4 +108,5 @@ if(!window.jQuery) {
} }
} }
}); });

} }