This commit is contained in:
Travis Ralston 2021-07-20 09:03:26 -06:00
parent 5994111e5d
commit 7892539a9b
2 changed files with 2 additions and 2 deletions

View file

@ -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"

View file

@ -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>
);