Update deprecated jQuery syntax

These methods had already been superseeded by other methods since jQuery
1.7 or 1.8, and jQuery 3.0 will deprecate them.
This commit is contained in:
Javi Martín
2019-11-07 15:32:20 +01:00
parent 52d165b419
commit 953fc7ddb0
4 changed files with 6 additions and 6 deletions

View File

@@ -17,7 +17,7 @@
};
},
initialize: function() {
$("table.sortable th").click(function() {
$("table.sortable th").on("click", function() {
var rows, table;
table = $(this).parents("table").eq(0);
rows = table.find("tbody tr").toArray().sort(App.TableSortable.comparer($(this).index()));