Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Šimon Brandner 2021-07-13 09:18:05 +02:00
parent 2a403f6cfe
commit bdbd03c4ff
No known key found for this signature in database
GPG Key ID: 9760693FDD98A790
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ export default class MImageBody extends React.Component<IProps, IState> {
return content.info?.mimetype === "image/gif";
};
private onImageEnter = (e: React.MouseEvent): void => {
private onImageEnter = (e: React.MouseEvent<HTMLImageElement>): void => {
this.setState({ hover: true });
if (!this.state.showImage || !this.isGif() || SettingsStore.getValue("autoplayGifsAndVideos")) {