Browse Source

meet style

pull/689/head
why520crazy 9 years ago
parent
commit
f4f7051750
  1. 2
      Sortable.js

2
Sortable.js

@ -259,7 +259,7 @@
originalTarget = target, originalTarget = target,
filter = options.filter; filter = options.filter;
// don't trigger start event when an element is been dragged, otherwise the evt.oldindex always wrong when set option.group. // don't trigger start event when an element is been dragged, otherwise the evt.oldindex always wrong when set option.group.
if(dragEl){ if (dragEl) {
return; return;
} }
if (type === 'mousedown' && evt.button !== 0 || options.disabled) { if (type === 'mousedown' && evt.button !== 0 || options.disabled) {

Loading…
Cancel
Save