Browse Source

#1025: clean clone, fix

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

2
Sortable.js

@ -633,7 +633,7 @@
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