refactor: remove comments that restate the code under website/

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Vinta Chen 2026-10-26 11:19:08 +08:00
parent 14eb4a19b8
commit d58e8d835a
No known key found for this signature in database
GPG key ID: B93DE4F003C33630
6 changed files with 0 additions and 82 deletions

View file

@ -271,10 +271,8 @@ function updateSortIndicators() {
});
}
// Expand/collapse: event delegation on tbody
if (tbody) {
tbody.addEventListener("click", function (e) {
// Don't toggle if clicking a link
if (e.target.closest("a")) return;
let row = e.target.closest("tr.row");
@ -287,7 +285,6 @@ if (tbody) {
setRowOpen(row, !row.classList.contains("open"));
});
// Keyboard: Enter or Space on focused .row toggles expand
tbody.addEventListener("keydown", function (e) {
if (e.key !== "Enter" && e.key !== " ") return;
if (e.target.closest("a")) return;