mirror of https://github.com/vector-im/riot-web
delint
parent
5994111e5d
commit
7892539a9b
|
@ -98,7 +98,7 @@ export default class DownloadActionButton extends React.PureComponent<IProps, IS
|
|||
>
|
||||
{ spinner }
|
||||
{ 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}
|
||||
onLoad={this.onFrameLoad}
|
||||
sandbox="allow-scripts allow-downloads allow-downloads-without-user-activation"
|
||||
|
|
|
@ -310,7 +310,7 @@ export default class MFileBody extends React.Component<IProps, IState> {
|
|||
</a>
|
||||
{ this.props.tileShape === TileShape.FileGrid && <div className="mx_MImageBody_size">
|
||||
{ content.info && content.info.size ? filesize(content.info.size) : "" }
|
||||
</div>}
|
||||
</div> }
|
||||
</div> }
|
||||
</span>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue