443 B
443 B
ADR 0007 — Page jump controls bridge (hash-aware)
Decision
Add scripts/init-page-jump.mjs to wire .jump-input + .jump-btn inside pagination containers to the URL hash:
- Updates
#page=NviasetPage()on click/Enter. - Clamps to
min/maxwhen available, else to >= 1. - Syncs input when hash changes externally.
Consequences
- One script tag in
index.html. - Works with both legacy pagination and the new builder.