mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-21 14:31:09 +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}
|
||||
allowFullScreen="true"
|
||||
sandbox={sandboxFlags}
|
||||
onLoad={this._onLoaded}
|
||||
></iframe>
|
||||
</div>
|
||||
);
|
||||
@ -358,7 +359,6 @@ export default React.createClass({
|
||||
alt={_t('Edit')}
|
||||
title={_t('Edit')}
|
||||
onClick={this._onEditClick}
|
||||
onLoad={this._onLoaded}
|
||||
/> }
|
||||
|
||||
{ /* Delete widget */ }
|
||||
|
Loading…
x
Reference in New Issue
Block a user