Apply suggestions from code review
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
e88edba650
commit
00d5a0baa4
4 changed files with 12 additions and 13 deletions
|
@ -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>;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue