mirror of
https://github.com/element-hq/element-web
synced 2024-11-26 19:26:04 +03:00
Grammar
This commit is contained in:
parent
fb5dd4a410
commit
c249bee9b5
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@ export default class extends React.Component {
|
|||
_messageContent(contentUrl, thumbUrl, content) {
|
||||
// The maximum height of the thumbnail as it is rendered as an <img>
|
||||
const maxHeight = Math.min(THUMBNAIL_MAX_HEIGHT, content.info.h);
|
||||
// The maximum width of the thumbnail, as dictated by it's natural
|
||||
// The maximum width of the thumbnail, as dictated by its natural
|
||||
// maximum height.
|
||||
const maxWidth = content.info.w * maxHeight / content.info.h;
|
||||
|
||||
|
|
Loading…
Reference in a new issue