Merge branch 'export-conversations' of https://github.com/jaiwanth-v/matrix-react-sdk into export-conversations

This commit is contained in:
Jaiwanth 2021-08-13 08:59:39 +05:30
commit c62210b07c
3 changed files with 10 additions and 11 deletions

View file

@ -428,7 +428,7 @@ export default class MImageBody extends React.Component<IBodyProps, IState> {
// Overidden by MStickerBody
protected wrapImage(contentUrl: string, children: JSX.Element): JSX.Element {
return <a href={contentUrl} target={this.props.forExport ? "__blank" : undefined} onClick={this.onClick}>
return <a href={contentUrl} target={this.props.forExport ? "_blank" : undefined} onClick={this.onClick}>
{ children }
</a>;
}