diff --git a/src/components/Annotation.js b/src/components/Annotation.js index 31bc6c2..7ec504c 100644 --- a/src/components/Annotation.js +++ b/src/components/Annotation.js @@ -159,7 +159,7 @@ export default compose( onClick = (e) => { const { onClickCheckFunc } = this.props; - if (!onClickCheckFunc || onClickCheckFunc()) { + if (!onClickCheckFunc || onClickCheckFunc(e)) { return this.callSelectorMethod('onClick', e) } return;