Clean up code.

This commit is contained in:
James Cole
2020-10-24 07:40:56 +02:00
parent 048e5eeb31
commit ab4bcd3703
20 changed files with 126 additions and 245 deletions

View File

@@ -63,7 +63,6 @@ function stopSorting() {
"use strict";
$.each($('#sortable-table>tbody>tr.sortable-object'), function (i, v) {
var holder = $(v);
var parentBody = holder.parent();
var position = parseInt(holder.data('position'));
var originalOrder = parseInt(holder.data('order'));
var id = holder.data('id');