diff options
Diffstat (limited to 'frontend/index.ts')
| -rw-r--r-- | frontend/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/index.ts b/frontend/index.ts index cd3c455..316caaf 100644 --- a/frontend/index.ts +++ b/frontend/index.ts @@ -10,7 +10,7 @@ function setupAnchors() { e.setAttribute("hx-get", e.href) e.setAttribute("hx-trigger", "click") e.setAttribute("hx-target", "#content") - e.setAttribute("hx-swap", "outerHTML show:top") + e.setAttribute("hx-swap", "outerHTML show:body:top") htmx.process(e) }); } |
