(roundNum)
| 255 | |
| 256 | // Round navigation functionality |
| 257 | function scrollToRound(roundNum) { |
| 258 | const roundAnchor = document.getElementById(`round-${roundNum}`); |
| 259 | if (roundAnchor) { |
| 260 | // Smooth scroll to the round section |
| 261 | roundAnchor.scrollIntoView({ |
| 262 | behavior: "smooth", |
| 263 | block: "start", |
| 264 | }); |
| 265 | |
| 266 | // Close TOC menu after navigation (optional - user can keep it open) |
| 267 | // closeTocMenu(); |
| 268 | } else { |
| 269 | console.warn(`Round ${roundNum} anchor not found`); |
| 270 | } |
| 271 | } |
| 272 | |
| 273 | // Scroll to top functionality |
| 274 | function scrollToTop() { |
no outgoing calls
no test coverage detected