Skip to content

Commit

Permalink
SortableJS#488: fixed xxxxx undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
RubaXa committed Jul 30, 2015
1 parent 4eaf54d commit 09a75c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sortable.js
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@

target = _closest(evt.target, options.draggable, el);
dragRect = dragEl.getBoundingClientRect();
parentEl = target && target.parentNode; // actualization
parentEl = target && target.parentNode || parentEl; // actualization

if (revert) {
_cloneHide(true);
Expand Down

0 comments on commit 09a75c3

Please sign in to comment.