Browse Source

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

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

1
Sortable.html

@ -79,7 +79,6 @@
onUpdate: e => {
if (template) {
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)
},

Loading…
Cancel
Save