Browse Source

#250: + additional check

drop-text
RubaXa 10 years ago
parent
commit
7bff4352d6
  1. 2
      Sortable.js

2
Sortable.js

@ -171,6 +171,7 @@
_dragStarted: function () { _dragStarted: function () {
if (rootEl && dragEl) {
// Apply effect // Apply effect
_toggleClass(dragEl, this.options.ghostClass, true); _toggleClass(dragEl, this.options.ghostClass, true);
@ -178,6 +179,7 @@
// Drag start event // Drag start event
_dispatchEvent(rootEl, 'start', dragEl, rootEl, oldIndex); _dispatchEvent(rootEl, 'start', dragEl, rootEl, oldIndex);
}
}, },

Loading…
Cancel
Save