Skip to content

Commit

Permalink
Merge pull request #33 from stfnx/patch-1
Browse files Browse the repository at this point in the history
Fix small typo
  • Loading branch information
edmondchuc authored Jul 26, 2024
2 parents 712eb88 + 93855a7 commit a3bff55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_htmx/htmx.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def __bool__(self) -> bool:
def target(self) -> Optional[str]:
"""The ID of the target element if it exists, or :py:obj:`None`.
Based on the :code:`HX-Target header`.
Based on the :code:`HX-Target` header.
"""
return request.headers.get("HX-Target")

Expand Down

0 comments on commit a3bff55

Please sign in to comment.