HTMX -> htmx

This commit is contained in:
2022-01-07 16:02:01 -05:00
parent 86defea3c1
commit b5292bffc4
2 changed files with 3 additions and 3 deletions

View File

@@ -39,10 +39,10 @@ type IHeaderDictionary with
/// Extensions for the request object
type HttpRequest with
/// Whether this request was initiated from HTMX
/// Whether this request was initiated from htmx
member this.IsHtmx with get () = this.Headers.HxRequest |> Option.defaultValue false
/// Whether this request is an HTMX history-miss refresh request
/// Whether this request is an htmx history-miss refresh request
member this.IsHtmxRefresh with get () =
this.IsHtmx && (this.Headers.HxHistoryRestoreRequest |> Option.defaultValue false)