Browse Source

Remove junk changes, part II

pull/1084/head
desmaisons_david 8 years ago
parent
commit
b9e780f384
  1. 8
      Sortable.js

8
Sortable.js

@ -158,7 +158,7 @@
scrollOffsetY = vy ? vy * speed : 0;
scrollOffsetX = vx ? vx * speed : 0;
if ('function' === typeof (scrollCustomFn)) {
if ('function' === typeof(scrollCustomFn)) {
return scrollCustomFn.call(_this, scrollOffsetX, scrollOffsetY, evt);
}
@ -200,7 +200,7 @@
var originalGroup = options.group;
if (!originalGroup || typeof originalGroup != 'object') {
originalGroup = { name: originalGroup };
originalGroup = {name: originalGroup};
}
group.name = originalGroup.name;
@ -261,7 +261,7 @@
fallbackClass: 'sortable-fallback',
fallbackOnBody: false,
fallbackTolerance: 0,
fallbackOffset: { x: 0, y: 0 }
fallbackOffset: {x: 0, y: 0}
};
@ -384,7 +384,7 @@
dragEl = target;
parentEl = dragEl.parentNode;
nextEl = dragEl.nextSibling;
lastDownEl = target;
lastDownEl = target
activeGroup = options.group;
oldIndex = startIndex;

Loading…
Cancel
Save