Made comment "react-style".
parent
ecde099146
commit
13bebd69c9
|
@ -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()}
|
||||||
|
|
Loading…
Reference in New Issue