You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-11 20:22:36 +03:00
Fix onLoad on wrong element.
This commit is contained in:
@@ -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 */ }
|
||||
|
||||
Reference in New Issue
Block a user