Allow bypass of widget loading screen on hide / show.

pull/21833/head
Richard Lewis 2017-12-06 22:54:32 +00:00
parent e20db416f2
commit ed675fe791
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ export default React.createClass({
if (nextProps.url !== this.props.url) { if (nextProps.url !== this.props.url) {
this._getNewState(nextProps); this._getNewState(nextProps);
this.setScalarToken(); this.setScalarToken();
} else if (nextProps.show && !this.props.show) { } else if (nextProps.show && !this.props.show && this.props.waitForIframeLoad) {
this.setState({ this.setState({
loading: true, loading: true,
}); });