1
0
Fork 0

Button with target _blank again

This commit is contained in:
clerie 2020-09-16 14:55:46 +02:00
parent 6c9bd60235
commit 8cd52728c8
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@ function domCreateImage(src) {
function domCreateButton(href, image_src) {
var link = domCreateLink(href);
link.setAttribute("target", "_blank");
var image = domCreateImage(image_src);
image.setAttribute("style", "height: 2em; vertical-align:middle;")
link.append(image);