mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-03-14 15:09:59 -04:00
Last tweaks
thanks @rschamp!
This commit is contained in:
parent
688ab935d1
commit
d72a605e69
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…
Reference in a new issue