target blank

This commit is contained in:
Zhora Shalyapin 2025-03-14 14:46:48 +00:00
parent 685e1db1f5
commit 41b7b781f8

View File

@ -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)
} }