mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-18 10:51:54 +02:00
Remove additional ?
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
5fc35565df
commit
2a403f6cfe
@ -135,7 +135,7 @@ export default class MImageBody extends React.Component<IProps, IState> {
|
|||||||
|
|
||||||
private isGif = (): boolean => {
|
private isGif = (): boolean => {
|
||||||
const content = this.props.mxEvent.getContent();
|
const content = this.props.mxEvent.getContent();
|
||||||
return content?.info?.mimetype === "image/gif";
|
return content.info?.mimetype === "image/gif";
|
||||||
};
|
};
|
||||||
|
|
||||||
private onImageEnter = (e: React.MouseEvent): void => {
|
private onImageEnter = (e: React.MouseEvent): void => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user