Browse Source

remove events on destroy

pull/51/head
skaczorowski 10 years ago
parent
commit
4527eb7bb0
  1. 3
      Sortable.js
  2. 2
      Sortable.min.js

3
Sortable.js

@ -432,7 +432,8 @@
_off(el, 'add', options.onAdd);
_off(el, 'update', options.onUpdate);
_off(el, 'remove', options.onRemove);
_off(el, 'start', options.onStartDragging);
_off(el, 'stop', options.onStopDragging);
_off(el, 'mousedown', this._onTapStart);
_off(el, 'touchstart', this._onTapStart);
_off(el, 'selectstart', this._onTapStart);

2
Sortable.min.js vendored

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