diff --git a/examples/default/index.js b/examples/default/index.js index 688b08c..8d6c97c 100644 --- a/examples/default/index.js +++ b/examples/default/index.js @@ -40,7 +40,7 @@ const tree = new InfiniteTree(document.querySelector('#default [data-id="tree"]' console.log('drop:', e, e.dataTransfer.getData('text')); const innerHTML = 'Dropped to ' + quoteattr(node.name) + ''; - document.querySelector('#classic [data-id="dropped-result"]').innerHTML = innerHTML; + document.querySelector('#default [data-id="dropped-result"]').innerHTML = innerHTML; } }, loadNodes: (parentNode, done) => {