mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 04:21:57 +03:00
Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
commit
f51211ac93
1 changed files with 1 additions and 1 deletions
|
@ -337,7 +337,7 @@ module.exports = React.createClass({
|
||||||
if (this.context.appConfig && this.context.appConfig.cross_origin_renderer_url) {
|
if (this.context.appConfig && this.context.appConfig.cross_origin_renderer_url) {
|
||||||
renderer_url = this.context.appConfig.cross_origin_renderer_url;
|
renderer_url = this.context.appConfig.cross_origin_renderer_url;
|
||||||
}
|
}
|
||||||
renderer_url += "?origin=" + encodeURIComponent(document.origin);
|
renderer_url += "?origin=" + encodeURIComponent(window.location.origin);
|
||||||
return (
|
return (
|
||||||
<span className="mx_MFileBody">
|
<span className="mx_MFileBody">
|
||||||
<div className="mx_MFileBody_download">
|
<div className="mx_MFileBody_download">
|
||||||
|
|
Loading…
Reference in a new issue