mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-08-10 15:21:22 +02:00
search: pagination and scroll, add range counter, mobile version
This commit is contained in:
@@ -61,6 +61,9 @@ function handleAutosaveResponse(event) {
|
||||
}
|
||||
}
|
||||
|
||||
// Expose globally for HTMX hx-on::after-request inlines (bundles wrap in IIFE)
|
||||
window.handleAutosaveResponse = handleAutosaveResponse;
|
||||
|
||||
// Show saving indicator while request is in flight
|
||||
document.body.addEventListener("htmx:beforeRequest", (e) => {
|
||||
const url = e.detail.requestConfig?.path || "";
|
||||
|
||||
Reference in New Issue
Block a user