From 91145e29d475c83575c53d16484068bf9c4e9336 Mon Sep 17 00:00:00 2001 From: Dan Dascalescu Date: Sun, 14 Dec 2014 22:50:52 -0800 Subject: [PATCH] Fix documentation for onAdd event .from Fix #170 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9c27680..0d7fc81 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ var sortable = new Sortable(el, { // Element is dropped into the list from another list onAdd: function (/**Event*/evt) { var itemEl = evt.item; // dragged HTMLElement - itemEl.from; // previous list + evt.from; // previous list // + indexes from onEnd },