You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-13 08:02:38 +03:00
Made comment "react-style".
This commit is contained in:
@@ -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()}
|
||||||
|
|||||||
Reference in New Issue
Block a user