override font for usercontent download link

pull/21833/head
Bruno Windels 2019-05-29 11:02:38 +02:00
parent 9914bac24d
commit a5eca6cf79
1 changed files with 1 additions and 0 deletions

View File

@ -145,6 +145,7 @@ function remoteRender(event) {
a.target = data.target; a.target = data.target;
a.download = data.download; a.download = data.download;
a.style = data.style; a.style = data.style;
a.style.fontFamily = "Arial, Helvetica, Sans-Serif";
a.href = window.URL.createObjectURL(data.blob); a.href = window.URL.createObjectURL(data.blob);
a.appendChild(img); a.appendChild(img);
a.appendChild(document.createTextNode(data.textContent)); a.appendChild(document.createTextNode(data.textContent));