From b017187ed250db69b99169a0dc975e6ca16f9024 Mon Sep 17 00:00:00 2001 From: Cheton Wu Date: Fri, 27 May 2016 19:12:16 +0800 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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