mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-03-25 20:29:45 -04:00
Last tweaks
thanks @rschamp!
This commit is contained in:
parent
402efd8046
commit
652c328cbd
2 changed files with 1 additions and 2 deletions
|
@ -28,7 +28,6 @@ var Modal = React.createClass({
|
|||
'modal-overlay',
|
||||
this.props.overlayClassName
|
||||
);
|
||||
ReactModal.setAppElement(document.getElementById(this.props.appElementId));
|
||||
|
||||
return (
|
||||
<ReactModal
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Add table
Reference in a new issue