mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 05:55:00 +08:00
Allow bypass of widget loading screen on hide / show.
This commit is contained in:
parent
e20db416f2
commit
ed675fe791
@ -217,7 +217,7 @@ export default React.createClass({
|
||||
if (nextProps.url !== this.props.url) {
|
||||
this._getNewState(nextProps);
|
||||
this.setScalarToken();
|
||||
} else if (nextProps.show && !this.props.show) {
|
||||
} else if (nextProps.show && !this.props.show && this.props.waitForIframeLoad) {
|
||||
this.setState({
|
||||
loading: true,
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user