mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08:00
Types
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
fa4977c4da
commit
6193bc2a82
@ -148,7 +148,7 @@ export default class MImageBody extends React.Component<IProps, IState> {
|
||||
imgElement.src = this.getContentUrl();
|
||||
};
|
||||
|
||||
private onImageLeave = (e: React.MouseEvent): void => {
|
||||
private onImageLeave = (e: React.MouseEvent<HTMLImageElement>): void => {
|
||||
this.setState({ hover: false });
|
||||
|
||||
if (!this.state.showImage || !this.isGif() || SettingsStore.getValue("autoplayGifsAndVideos")) {
|
||||
|
Loading…
Reference in New Issue
Block a user