Last tweaks

thanks @rschamp!
This commit is contained in:
Matthew Taylor 2016-11-14 08:39:19 -05:00 committed by chrisgarrity
parent 688ab935d1
commit d72a605e69
2 changed files with 1 additions and 2 deletions

View file

@ -28,7 +28,6 @@ var Modal = React.createClass({
'modal-overlay',
this.props.overlayClassName
);
ReactModal.setAppElement(document.getElementById(this.props.appElementId));
return (
<ReactModal

View file

@ -20,7 +20,7 @@ var IframeModal = React.createClass({
this.props.className
);
return (
<Modal {...omit(this.props, ['ref', 'src'])}>
<Modal {...omit(this.props, ['src'])}>
<iframe
ref={this.props.componentRef}
src={this.props.src}