Skip to content

Commit b7ed7a1

Browse files
committed
Update comments and such
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
1 parent 2645e6f commit b7ed7a1

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/vector/usercontent/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@ function remoteRender(event) {
1111
const img = document.createElement("img");
1212
img.id = "img";
1313
img.src = data.imgSrc;
14+
img.style = data.imgStyle;
1415

1516
const a = document.createElement("a");
1617
a.id = "a";
17-
a.rel = data.rel;
18-
a.target = data.target;
18+
a.rel = "noopener";
19+
a.target = "_blank";
1920
a.download = data.download;
2021
a.style = data.style;
2122
a.style.fontFamily = "Arial, Helvetica, Sans-Serif";

0 commit comments

Comments
 (0)