Browse Source

Merge pull request #632 from TaliLavi/dev

Remove unreliable reliance on 'this' when dispatching 'choose'
pull/634/merge
Lebedev Konstantin 9 years ago
parent
commit
ce59cdd362
  1. 2
      Sortable.js
  2. 2
      Sortable.min.js

2
Sortable.js

@ -338,7 +338,7 @@
_this._triggerDragStart(touch);
// Drag start event
_dispatchEvent(this, rootEl, 'choose', dragEl, rootEl, oldIndex);
_dispatchEvent(_this, rootEl, 'choose', dragEl, rootEl, oldIndex);
};
// Disable "draggable"

2
Sortable.min.js vendored

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