mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 14:05:04 +08:00
get rid of target=_blank for usercontent also
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
0bcdf062a3
commit
d6b39a33b4
@ -16,7 +16,6 @@ function remoteRender(event) {
|
|||||||
const a = document.createElement("a");
|
const a = document.createElement("a");
|
||||||
a.id = "a";
|
a.id = "a";
|
||||||
a.rel = "noreferrer noopener";
|
a.rel = "noreferrer noopener";
|
||||||
a.target = "_blank";
|
|
||||||
a.download = data.download;
|
a.download = data.download;
|
||||||
a.style = data.style;
|
a.style = data.style;
|
||||||
a.style.fontFamily = "Arial, Helvetica, Sans-Serif";
|
a.style.fontFamily = "Arial, Helvetica, Sans-Serif";
|
||||||
|
Loading…
Reference in New Issue
Block a user