Update comments and such

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/12292/head
Michael Telatynski 2020-02-13 16:53:45 +00:00
parent 2645e6f525
commit b7ed7a1dd7
1 changed files with 3 additions and 2 deletions

View File

@ -11,11 +11,12 @@ function remoteRender(event) {
const img = document.createElement("img"); const img = document.createElement("img");
img.id = "img"; img.id = "img";
img.src = data.imgSrc; img.src = data.imgSrc;
img.style = data.imgStyle;
const a = document.createElement("a"); const a = document.createElement("a");
a.id = "a"; a.id = "a";
a.rel = data.rel; a.rel = "noopener";
a.target = data.target; 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";