Convert multiple pages into SPA

This commit is contained in:
2025-10-09 15:48:23 +02:00
parent c616b2da7f
commit 06d04a1abc
110 changed files with 1245 additions and 1319 deletions

View File

@@ -22,6 +22,10 @@ export const open = (button_rect: DOMRect) => {
dialog.style.top = Math.round(Math.min(min_top, max_top)) + "px"
}
export const close = () => {
dialog.close()
}
// Attach a click handler so that the dialog is closed when the user clicks
// outside the dialog. The way this check works is that there is usually an
// element inside the dialog with all the content. When the click target is