Skip to content

Commit 679e175

Browse files
committed
Bumped version to 1.1.1
1 parent 34b3bda commit 679e175

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

build/knockout-sortable.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// knockout-sortable 1.1.0 | (c) 2017 Ryan Niemeyer | http://www.opensource.org/licenses/mit-license
1+
// knockout-sortable 1.1.1 | (c) 2019 Ryan Niemeyer | http://www.opensource.org/licenses/mit-license
22
;(function(factory) {
33
if (typeof define === "function" && define.amd) {
44
// AMD anonymous module
@@ -82,7 +82,7 @@
8282
var unwrapped = unwrap(items);
8383

8484
if (unwrapped) {
85-
for (var i = 0; i < index; i++) {
85+
for (var i = 0; i <= index; i++) {
8686
//add one for every destroyed item we find before the targetIndex in the target array
8787
if (unwrapped[i] && unwrap(unwrapped[i]._destroy)) {
8888
index++;

build/knockout-sortable.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "knockout-sortable",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"author": "Ryan Niemeyer",
55
"homepage": "https://github.com/rniemeyer/knockout-sortable",
66
"description": "A Knockout.js binding to connect observableArrays with jQuery UI sortable functionality",

0 commit comments

Comments
 (0)