diff --git a/README.md b/README.md index b719515..61e9697 100644 --- a/README.md +++ b/README.md @@ -60,11 +60,11 @@ var tree = new InfiniteTree({ data: data, autoOpen: true, // Defaults to false droppable: { // Defaults to false - hoverClass: 'infinite-tree-drop-hover', - accept: function(opts) { + hoverClass: 'infinite-tree-droppable-hover', + accept: function(event, options) { return true; }, - drop: function(e, opts) { + drop: function(event, options) { } }, loadNodes: function(parentNode, done) { // Load node on demand