()
| 301 | input.select(); |
| 302 | |
| 303 | const commit = () => { |
| 304 | const n = input.value.trim(); |
| 305 | if (n) section.name = n; |
| 306 | _render(); |
| 307 | _scheduleSave(); |
| 308 | }; |
| 309 | input.addEventListener("blur", commit, { once: true }); |
| 310 | input.addEventListener("keydown", (e) => { |
| 311 | if (e.key === "Enter") { e.preventDefault(); input.blur(); } |
nothing calls this directly
no test coverage detected