Browse Source

* fixed #28

pull/29/head
Larry Davis 11 years ago
parent
commit
c80504c4a8
  1. 28
      Sortable.js
  2. 2
      Sortable.min.js

28
Sortable.js

@ -187,22 +187,24 @@
, i = touchDragOverListeners.length
;
do {
if( parent[expando] === group ){
while( i-- ){
touchDragOverListeners[i]({
clientX: touchEvt.clientX,
clientY: touchEvt.clientY,
target: target,
rootEl: parent
});
if( parent ){
do {
if( parent[expando] === group ){
while( i-- ){
touchDragOverListeners[i]({
clientX: touchEvt.clientX,
clientY: touchEvt.clientY,
target: target,
rootEl: parent
});
}
break;
}
break;
}
target = parent; // store last element
target = parent; // store last element
}
while( parent = parent.parentNode );
}
while( parent = parent.parentNode );
_css(ghostEl, 'display', '');
}

2
Sortable.min.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save