diff --git a/README.md b/README.md index 475e7db..a2e9511 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ **nestedSortable** is a jQuery plugin that extends jQuery Sortable UI functionalities to nested lists. -## Meteor Installation - meteor add ilikenwf:nested-sortable +## Installation + npm install ajb99/nestedSortable --save-dev ## What's new in version 2.0 diff --git a/jquery.mjs.nestedSortable.js b/jquery.mjs.nestedSortable.js index 43df6a2..c1a0525 100644 --- a/jquery.mjs.nestedSortable.js +++ b/jquery.mjs.nestedSortable.js @@ -18,7 +18,7 @@ // AMD. Register as an anonymous module. define([ "jquery", - "jquery-ui/ui/sortable" + "jquery-ui/ui/widgets/sortable" ], factory ); } else { @@ -74,9 +74,9 @@ // if we have a tree with expanding/collapsing functionality, // force 'intersect' tolerance method - if (this.options.isTree && this.options.expandOnHover) { - this.options.tolerance = "intersect"; - } + // if (this.options.isTree && this.options.expandOnHover) { + // this.options.tolerance = "intersect"; + // } $.ui.sortable.prototype._create.apply(this, arguments);