mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-28 18:01:46 +02:00
delint
This commit is contained in:
parent
5994111e5d
commit
7892539a9b
@ -98,7 +98,7 @@ export default class DownloadActionButton extends React.PureComponent<IProps, IS
|
|||||||
>
|
>
|
||||||
{ spinner }
|
{ spinner }
|
||||||
{ this.state.blob && <iframe
|
{ this.state.blob && <iframe
|
||||||
src={"usercontent/" /* XXX: Like MFileBody, this should come from the skin */}
|
src="usercontent/" // XXX: Like MFileBody, this should come from the skin
|
||||||
ref={this.iframe}
|
ref={this.iframe}
|
||||||
onLoad={this.onFrameLoad}
|
onLoad={this.onFrameLoad}
|
||||||
sandbox="allow-scripts allow-downloads allow-downloads-without-user-activation"
|
sandbox="allow-scripts allow-downloads allow-downloads-without-user-activation"
|
||||||
|
@ -310,7 +310,7 @@ export default class MFileBody extends React.Component<IProps, IState> {
|
|||||||
</a>
|
</a>
|
||||||
{ this.props.tileShape === TileShape.FileGrid && <div className="mx_MImageBody_size">
|
{ this.props.tileShape === TileShape.FileGrid && <div className="mx_MImageBody_size">
|
||||||
{ content.info && content.info.size ? filesize(content.info.size) : "" }
|
{ content.info && content.info.size ? filesize(content.info.size) : "" }
|
||||||
</div>}
|
</div> }
|
||||||
</div> }
|
</div> }
|
||||||
</span>
|
</span>
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user