target blank
This commit is contained in:
parent
685e1db1f5
commit
41b7b781f8
4
main.js
4
main.js
@ -972,6 +972,10 @@
|
|||||||
link.href = `/${getCompetition()}/${href}`
|
link.href = `/${getCompetition()}/${href}`
|
||||||
link.innerText = label
|
link.innerText = label
|
||||||
|
|
||||||
|
if (label === "Карта") {
|
||||||
|
link.setAttribute("target", "_blank")
|
||||||
|
}
|
||||||
|
|
||||||
menuItem.appendChild(link)
|
menuItem.appendChild(link)
|
||||||
menu.appendChild(menuItem)
|
menu.appendChild(menuItem)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user