Skip to content

Commit

Permalink
alpha4
Browse files Browse the repository at this point in the history
  • Loading branch information
jquense committed Aug 28, 2015
1 parent be3a5b6 commit 678108f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-overlays",
"version": "0.50.0-alpha3",
"version": "0.50.0-alpha4",
"description": "Utilities for creating robust overlay components",
"author": "Jason Quense <monastic.panic@gmail.com>",
"repository": "react-bootstrap/react-overlays",
Expand Down Expand Up @@ -75,7 +75,7 @@
"node-libs-browser": "^0.5.2",
"raw-loader": "^0.5.1",
"react": "^0.14.0-beta3",
"react-bootstrap": "^0.24.5-react-pre.0",
"react-bootstrap": "0.24.5-react-pre.0",
"react-component-metadata": "^1.2.2",
"react-dom": "^0.14.0-beta3",
"react-hot-loader": "^1.2.7",
Expand Down
6 changes: 3 additions & 3 deletions src/RootCloseWrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default class RootCloseWrapper extends React.Component {
let { id, suppressRootClose } = getSuppressRootClose();

this._suppressRootId = id;
this._suppressRootClosehHandler = suppressRootClose;
this._suppressRootCloseHandler = suppressRootClose;
}

bindRootCloseHandlers() {
Expand Down Expand Up @@ -81,14 +81,14 @@ export default class RootCloseWrapper extends React.Component {

if (noWrap) {
return React.cloneElement(child, {
onClick: createChainedFunction(this._suppressRootClosehHandler, child.props.onClick)
onClick: createChainedFunction(this._suppressRootCloseHandler, child.props.onClick)
});
}

// Wrap the child in a new element, so the child won't have to handle
// potentially combining multiple onClick listeners.
return (
<div onClick={this._suppressRootClosehHandler}>
<div onClick={this._suppressRootCloseHandler}>
{child}
</div>
);
Expand Down

0 comments on commit 678108f

Please sign in to comment.