From 3fde492e010e5c4875c3e7a7653edf6ac5272dfe Mon Sep 17 00:00:00 2001 From: Lebedev Konstantin Date: Wed, 22 Jun 2016 14:39:30 +0300 Subject: [PATCH] #772: newIndex --- Sortable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sortable.js b/Sortable.js index d271999..d6f0423 100644 --- a/Sortable.js +++ b/Sortable.js @@ -803,7 +803,7 @@ } if (Sortable.active) { - if (newIndex === null || newIndex === -1) { + if (newIndex == null || newIndex === -1) { newIndex = oldIndex; }