From 686b1a76c8cd0710879acf5d67d67a212162ecf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20Kol=C3=A1=C5=99?= Date: Fri, 30 Sep 2022 22:34:11 +0200 Subject: [PATCH] Fixed typo on hx-swap page (#991) --- www/attributes/hx-swap.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/attributes/hx-swap.md b/www/attributes/hx-swap.md index e2b8219b..393e3dac 100644 --- a/www/attributes/hx-swap.md +++ b/www/attributes/hx-swap.md @@ -112,7 +112,7 @@ htmx preserves focus between requests for inputs that have a defined id attribut hx-swap="outerHTML focus-scroll:true"/> ``` -Alternatively, if you want the page to automatically scroll to the focused element after each request you can change the htmx global configuration value `htxm.config.defaultFocusScroll` to true. Then disable it for specific requests using `focus-scroll:false`. +Alternatively, if you want the page to automatically scroll to the focused element after each request you can change the htmx global configuration value `htmx.config.defaultFocusScroll` to true. Then disable it for specific requests using `focus-scroll:false`. ```html