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:
@@ -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()));
|
||||
|
||||
Reference in New Issue
Block a user