Commit e52b50f9 authored by alexpott's avatar alexpott

Issue #1684812 by nod_, droplet, seutje: JSHint tabledrag.js.

parent 9f57b6fa
......@@ -522,7 +522,7 @@ Drupal.tableDrag.prototype.dragStart = function (event, self, item) {
if (self.oldRowElement) {
$(self.oldRowElement).removeClass('drag-previous');
}
}
};
/**
* Pointer movement handler, bound to document.
......@@ -671,7 +671,6 @@ Drupal.tableDrag.prototype.findDropTargetRow = function (x, y) {
for (var n = 0; n < rows.length; n++) {
var row = rows[n];
var $row = $(row);
var indentDiff = 0;
var rowY = $row.offset().top;
var rowHeight;
// Because Safari does not report offsetHeight on table rows, but does on
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment