diff options
Diffstat (limited to 'misc/tabledrag.js')
-rw-r--r-- | misc/tabledrag.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/tabledrag.js b/misc/tabledrag.js index 8d378e2cc..6dcc28092 100644 --- a/misc/tabledrag.js +++ b/misc/tabledrag.js @@ -516,7 +516,7 @@ Drupal.tableDrag.prototype.getMouseOffset = function (target, event) { * The y coordinate of the mouse on the page (not the screen). */ Drupal.tableDrag.prototype.findDropTargetRow = function (x, y) { - var rows = this.table.tBodies[0].rows; + var rows = $(this.table.tBodies[0].rows).not(':hidden'); for (var n = 0; n < rows.length; n++) { var row = rows[n]; var indentDiff = 0; |