diff --git a/src/ext/preload.js b/src/ext/preload.js index aa9d2d25..9caa7e3c 100644 --- a/src/ext/preload.js +++ b/src/ext/preload.js @@ -1,7 +1,7 @@ // This adds the "preload" extension to htmx. By default, this will // preload the targets of any tags with `href` or `hx-get` attributes // if they also have a `preload` attribute as well. See documentation -// for more detauls +// for more details htmx.defineExtension("preload", { onEvent: function(name, event) { diff --git a/www/events.md b/www/events.md index 1b540dc6..a5a19fb0 100644 --- a/www/events.md +++ b/www/events.md @@ -115,7 +115,6 @@ the documentation on [configuring swapping](/docs#modifying_swapping_behavior_wi * `detail.elt` - the element that dispatched the request * `detail.xhr` - the `XMLHttpRequest` -* `detail.target` - the target of the request * `detail.requestConfig` - the configuration of the AJAX request * `detail.shouldSwap` - if the content will be swapped (defaults to `false` for non-200 response codes) * `detail.target` - the target of the swap diff --git a/www/server-examples.md b/www/server-examples.md index c7baba4d..ea8c2cc5 100644 --- a/www/server-examples.md +++ b/www/server-examples.md @@ -38,6 +38,7 @@ These examples may make it a bit easier to get started using htmx with your plat - - +- ### FastAPI