From 9846ed0bc26c04b212ce6aa08b5342ee86e33c03 Mon Sep 17 00:00:00 2001 From: Diego Castillo Date: Mon, 11 May 2015 19:57:53 -0500 Subject: [PATCH] Fixed small typo on documentation --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c685025..dc380a6 100644 --- a/README.md +++ b/README.md @@ -195,7 +195,7 @@ Sortable.create(el, { Sortable.create(list, { filter: ".js-remove, .js-edit", onFilter: function (evt) { - var item = el.item, + var item = evt.item, ctrl = evt.target; if (Sortable.utils.is(ctrl, ".js-remove")) { // Click on remove button