mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-21 22:41:07 +02:00
Fix onLoad on wrong element.
This commit is contained in:
parent
35b33263ea
commit
758df29b23
@ -317,6 +317,7 @@ export default React.createClass({
|
|||||||
src={safeWidgetUrl}
|
src={safeWidgetUrl}
|
||||||
allowFullScreen="true"
|
allowFullScreen="true"
|
||||||
sandbox={sandboxFlags}
|
sandbox={sandboxFlags}
|
||||||
|
onLoad={this._onLoaded}
|
||||||
></iframe>
|
></iframe>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
@ -358,7 +359,6 @@ export default React.createClass({
|
|||||||
alt={_t('Edit')}
|
alt={_t('Edit')}
|
||||||
title={_t('Edit')}
|
title={_t('Edit')}
|
||||||
onClick={this._onEditClick}
|
onClick={this._onEditClick}
|
||||||
onLoad={this._onLoaded}
|
|
||||||
/> }
|
/> }
|
||||||
|
|
||||||
{ /* Delete widget */ }
|
{ /* Delete widget */ }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user