Made comment "react-style".

This commit is contained in:
Richard Lewis 2018-02-21 23:35:57 +00:00
parent ecde099146
commit 13bebd69c9

View file

@ -416,8 +416,12 @@ export default React.createClass({
appTileBody = (
<div className={this.state.loading ? 'mx_AppTileBody mx_AppLoading' : 'mx_AppTileBody'}>
{ this.state.loading && loadingElement }
{ /*
The "is" attribute in the following iframe tag is needed in order to enable rendering of the
"allow" attribute, which is unknown to react 15.
*/ }
<iframe
is // This is required in order to enable passing of the "allow" property, which is unknown to react 15
is
allow={iframeFeatures}
ref="appFrame"
src={this._getSafeUrl()}