Grammar
parent
fb5dd4a410
commit
c249bee9b5
|
@ -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 New Issue