[9.2.26] nettoyage
This commit is contained in:
parent
6d200124fd
commit
d8daa26b32
@ -63,19 +63,3 @@ directoryDOM.on("change", function() {
|
||||
});
|
||||
|
||||
|
||||
/**
|
||||
* Tri dynamique de la galerie
|
||||
*/
|
||||
$( document ).ready(function() {
|
||||
var $tbody = $('#galleryTable tbody');
|
||||
$tbody.find('tr').sort(function (a, b) {
|
||||
var tda = $(a).find('td.pos3:eq(0)').text();
|
||||
var tdb = $(b).find('td.pos3:eq(0)').text();
|
||||
// if a < b return 1
|
||||
return tda > tdb ? 1
|
||||
// else if a > b return -1
|
||||
: tda < tdb ? -1
|
||||
// else they are equal - return 0
|
||||
: 0;
|
||||
}).appendTo($tbody);
|
||||
});
|
Loading…
Reference in New Issue
Block a user