Browse Source

Modified to initialize variables in _onDrop. so destory function does not work well.

pull/670/head
shimizu daisuke 9 years ago
parent
commit
7370f0a8cf
  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