Add comment for "is" attribute.

This commit is contained in:
Richard Lewis 2018-02-21 23:23:44 +00:00
parent ffb524b6a5
commit 7e8660cd37

View file

@ -417,7 +417,7 @@ export default React.createClass({
<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 }
<iframe <iframe
is is // This is required in order to enable passing of that "allow" preoperty, which is unknown to react 15
allow={iframeFeatures} allow={iframeFeatures}
ref="appFrame" ref="appFrame"
src={this._getSafeUrl()} src={this._getSafeUrl()}