Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Revert "Sortable: update placeholder when axis is x or y for connecte…

…d lists. Fixed #8301 - Placeholder doesn't move when using connectWith option"

This reverts commit 96d5f18.
  • Loading branch information...
commit f2136917a1613bac3a9db0496f990fa81fb485e4 1 parent 96d5f18
Jason Moon authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  ui/jquery.ui.sortable.js
2  ui/jquery.ui.sortable.js
@@ -448,7 +448,7 @@ $.widget("ui.sortable", $.ui.mouse, {
448 448 var dyClick = this.offset.click.top,
449 449 dxClick = this.offset.click.left;
450 450
451   - var isOverElement = ((this.options.axis === 'x') || ((y1 + dyClick) > t && (y1 + dyClick) < b)) && ((this.options.axis === 'y') || ((x1 + dxClick) > l && (x1 + dxClick) < r));
  451 + var isOverElement = (y1 + dyClick) > t && (y1 + dyClick) < b && (x1 + dxClick) > l && (x1 + dxClick) < r;
452 452
453 453 if( this.options.tolerance == "pointer"
454 454 || this.options.forcePointerForContainers

0 comments on commit f213691

Please sign in to comment.
Something went wrong with that request. Please try again.