Made comment "react-style".

pull/21833/head
Richard Lewis 2018-02-21 23:35:57 +00:00
parent ecde099146
commit 13bebd69c9
1 changed files with 5 additions and 1 deletions

View File

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