Skip to content

Commit

Permalink
Use isNodeInDocument directly in HTML5Backend
Browse files Browse the repository at this point in the history
  • Loading branch information
darthtrevino committed Oct 29, 2018
1 parent bf731e2 commit 2646492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-dnd-html5-backend/src/HTML5Backend.ts
Expand Up @@ -63,7 +63,7 @@ export default class HTML5Backend implements Backend {
this.registry = manager.getRegistry()
this.context = manager.getContext()

this.enterLeaveCounter = new EnterLeaveCounter(node => this.isNodeInDocument(node));
this.enterLeaveCounter = new EnterLeaveCounter(this.isNodeInDocument);
}

// public for test
Expand Down

0 comments on commit 2646492

Please sign in to comment.