Fixed minor typo in comment

pull/21833/head
Maxwell Kepler 2018-10-22 21:03:39 +01:00
parent 54f9231582
commit 5e9db3647a
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ export default class MImageBody extends React.Component {
if (thumbUrl && !this.state.imgError) {
// Restrict the width of the thumbnail here, otherwise it will fill the container
// which has the same width as the timeline
// mx_MImageBody_ resizes img to exactly container size
// mx_MImageBody_thumbnail resizes img to exactly container size
img = <img className="mx_MImageBody_thumbnail" src={thumbUrl} ref="image"
style={{ maxWidth: maxWidth + "px" }}
alt={content.body}