Merge pull request #3037 from matrix-org/jryans/decrypt-font-release

Override font for usercontent download link for release
This commit is contained in:
J. Ryan Stinnett 2019-05-29 11:21:27 +01:00 committed by GitHub
commit 86cd70b7da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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