We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 975e9ab commit a1d29c6Copy full SHA for a1d29c6
lib/components/Modal.js
@@ -100,7 +100,7 @@ var Modal = React.createClass({
100
}
101
},
102
103
- removePortal () {
+ removePortal: function() {
104
ReactDOM.unmountComponentAtNode(this.node);
105
var parent = getParentElement(this.props.parentSelector);
106
parent.removeChild(this.node);
lib/components/ModalPortal.js
@@ -77,7 +77,7 @@ var ModalPortal = module.exports = React.createClass({
77
focusManager.teardownScopedFocus();
78
79
80
- open () {
+ open: function () {
81
if (this.state.afterOpen && this.state.beforeClose) {
82
clearTimeout(this.closeTimer);
83
this.setState({ beforeClose: false });
0 commit comments