Browse Source

#279: * dataAttr -> dataIdAttr

pull/296/head
RubaXa 10 years ago
parent
commit
8b3e8f9497
  1. 2
      Sortable.js

2
Sortable.js

@ -733,7 +733,7 @@
for (; i < n; i++) {
el = children[i];
if (_closest(el, options.draggable, this.el)) {
order.push(el.getAttribute(options.dataAttr) || _generateId(el));
order.push(el.getAttribute(options.dataIdAttr) || _generateId(el));
}
}

Loading…
Cancel
Save