Formatting fixes
This commit is contained in:
parent
c90f945430
commit
037fe88a3d
|
@ -9,9 +9,9 @@ class SelectDialog extends React.Component {
|
|||
super( props );
|
||||
|
||||
this.state = {
|
||||
isOpen: false
|
||||
};
|
||||
isOpen: false,
|
||||
};
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
window.addEventListener( 'message', this.handlePostMessage, false );
|
||||
|
@ -34,12 +34,12 @@ class SelectDialog extends React.Component {
|
|||
</Button>
|
||||
{ this.state.isOpen && (
|
||||
<Modal title="Cognito Forms Embed" className="cognito-modal" onRequestClose={ () => this.setState( { isOpen: false } ) } shouldCloseOnClickOutside={ false }>
|
||||
<FocusableIframe style={{ width: "500px", height: "500px" }} src="/wp-content/plugins/cognitoforms/testing/dialog.html"></FocusableIframe>
|
||||
<FocusableIframe style={ { width: '500px', height: '500px' } } src="/wp-content/plugins/cognitoforms/testing/dialog.html"></FocusableIframe>
|
||||
</Modal>
|
||||
) }
|
||||
</div>
|
||||
);
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
export default SelectDialog
|
||||
export default SelectDialog;
|
||||
|
|
Loading…
Reference in New Issue