Skip to content

Commit

Permalink
fix(nodeWrap): isHandle func
Browse files Browse the repository at this point in the history
  • Loading branch information
moklick committed Jul 30, 2019
1 parent 819a822 commit 18baa3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NodeRenderer/NodeTypes/wrapNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { isNode } from '../../graph-utils';
import { Provider } from '../NodeIdContext';

const isInput = e => ['INPUT', 'SELECT', 'TEXTAREA'].includes(e.target.nodeName);
const isHandle = e => e.target.className.includes('source');
const isHandle = e => e.target.className && e.target.className.includes('source');

const getHandleBounds = (sel, nodeElement, parentBounds) => {
const handle = nodeElement.querySelector(sel);
Expand Down

0 comments on commit 18baa3d

Please sign in to comment.