Browse Source

#1025: clean clone, fix

revertClone
Lebedev Konstantin 8 years ago
parent
commit
ab5dae4c6f
  1. 4
      Sortable.js

4
Sortable.js

@ -631,9 +631,9 @@
cloneEl.draggable = false; cloneEl.draggable = false;
cloneEl.style['will-change'] = ''; cloneEl.style['will-change'] = '';
_css(cloneEl, 'display', 'none'); _css(cloneEl, 'display', 'none');
_toggleClass(dragEl, this.options.chosenClass, false); _toggleClass(cloneEl, this.options.chosenClass, false);
rootEl.insertBefore(cloneEl, dragEl); rootEl.insertBefore(cloneEl, dragEl);
_dispatchEvent(this, rootEl, 'clone', dragEl); _dispatchEvent(this, rootEl, 'clone', dragEl);

Loading…
Cancel
Save