mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 05:55:00 +08:00
override font for usercontent download link
This commit is contained in:
parent
6cab9dd1d5
commit
61ace4baef
@ -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 New Issue
Block a user