From fefff20f1f08d8f2372ab3eb724cf1d25244acbf 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 d8445c5..b308b65 100644 --- a/Sortable.js +++ b/Sortable.js @@ -871,7 +871,7 @@ } if (Sortable.active) { - if (newIndex === null || newIndex === -1) { + if (newIndex == null || newIndex === -1) { newIndex = oldIndex; }