Browse Source

Small change to update the data instead of the polymer collection.

pull/881/head
Daniel Persson 9 years ago
parent
commit
babcc09e22
  1. 1
      Sortable.html

1
Sortable.html

@ -79,7 +79,6 @@
onUpdate: e => { onUpdate: e => {
if (template) { if (template) {
template.items.splice(e.newIndex, 0, template.items.splice(e.oldIndex, 1)[0]); template.items.splice(e.newIndex, 0, template.items.splice(e.oldIndex, 1)[0]);
//template.splice("items", e.newIndex, 0, template.splice("items", e.oldIndex, 1)[0])
} }
this.fire("update", e) this.fire("update", e)
}, },

Loading…
Cancel
Save