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 , i = touchDragOverListeners.length
; ;
do { if( parent ){
if( parent[expando] === group ){ do {
while( i-- ){ if( parent[expando] === group ){
touchDragOverListeners[i]({ while( i-- ){
clientX: touchEvt.clientX, touchDragOverListeners[i]({
clientY: touchEvt.clientY, clientX: touchEvt.clientX,
target: target, clientY: touchEvt.clientY,
rootEl: parent 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', ''); _css(ghostEl, 'display', '');
} }

2
Sortable.min.js vendored

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