This commit is contained in:
Zhora Shalyapin 2025-03-19 15:40:05 +00:00
parent e05e78c71d
commit b0b5da9447

View File

@ -1872,6 +1872,7 @@
let addButton = document.createElement("button")
addButton.type = "button"
addButton.textContent = "Добавить"
addButton.id = "add-button"
addButton.addEventListener("click", () => {
let point = pointInput.value
if (point == "") return
@ -1942,6 +1943,10 @@
#add-point {
width: 5em;
}
#add-button {
margin-left: 420px;
}
`)
}