From fafa1273f8b63c61f4033ccfa486da6f6a3c77e0 Mon Sep 17 00:00:00 2001 From: Timofey Smirnov Date: Fri, 11 Aug 2017 10:12:21 +0300 Subject: [PATCH] typo fix --- src/components/ModalPortal.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/ModalPortal.js b/src/components/ModalPortal.js index fc3ac193..f77b9cc3 100644 --- a/src/components/ModalPortal.js +++ b/src/components/ModalPortal.js @@ -221,7 +221,7 @@ export default class ModalPortal extends Component { this.shouldClose = false; } - handleCountenOnMouseDown = () => { + handleContentOnMouseDown = () => { this.shouldClose = false; } @@ -277,7 +277,7 @@ export default class ModalPortal extends Component { className={this.buildClassName('content', className)} tabIndex="-1" onKeyDown={this.handleKeyDown} - onMouseDown={this.handleCountenOnMouseDown} + onMouseDown={this.handleContentOnMouseDown} onClick={this.handleContentOnClick} role={this.props.role} aria-label={this.props.contentLabel}