mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 10:15:43 +03:00
Merge pull request #3037 from matrix-org/jryans/decrypt-font-release
Override font for usercontent download link for release
This commit is contained in:
commit
86cd70b7da
1 changed files with 1 additions and 0 deletions
|
@ -145,6 +145,7 @@ function remoteRender(event) {
|
|||
a.target = data.target;
|
||||
a.download = data.download;
|
||||
a.style = data.style;
|
||||
a.style.fontFamily = "Arial, Helvetica, Sans-Serif";
|
||||
a.href = window.URL.createObjectURL(data.blob);
|
||||
a.appendChild(img);
|
||||
a.appendChild(document.createTextNode(data.textContent));
|
||||
|
|
Loading…
Reference in a new issue