Browse Source

Merge pull request #670 from tori3/modify_destroy_func

Modified to initialize variables in _onDrop. so destory function does…
pull/729/head
Lebedev Konstantin 9 years ago
parent
commit
0b0da56b7d
  1. 7
      Sortable.js

7
Sortable.js

@ -808,6 +808,11 @@
} }
} }
}
this._nulling();
},
_nulling: function() {
// Nulling // Nulling
rootEl = rootEl =
dragEl = dragEl =
@ -830,10 +835,8 @@
activeGroup = activeGroup =
Sortable.active = null; Sortable.active = null;
}
}, },
handleEvent: function (/**Event*/evt) { handleEvent: function (/**Event*/evt) {
var type = evt.type; var type = evt.type;

Loading…
Cancel
Save