Button with target _blank again
This commit is contained in:
parent
6c9bd60235
commit
8cd52728c8
@ -46,6 +46,7 @@ function domCreateImage(src) {
|
|||||||
|
|
||||||
function domCreateButton(href, image_src) {
|
function domCreateButton(href, image_src) {
|
||||||
var link = domCreateLink(href);
|
var link = domCreateLink(href);
|
||||||
|
link.setAttribute("target", "_blank");
|
||||||
var image = domCreateImage(image_src);
|
var image = domCreateImage(image_src);
|
||||||
image.setAttribute("style", "height: 2em; vertical-align:middle;")
|
image.setAttribute("style", "height: 2em; vertical-align:middle;")
|
||||||
link.append(image);
|
link.append(image);
|
||||||
|
Loading…
Reference in New Issue
Block a user