Skip to content

Commit

Permalink
fix HTMX newlines for Firefox and update app title
Browse files Browse the repository at this point in the history
  • Loading branch information
tofran committed Mar 31, 2024
1 parent 0390ca8 commit 9c0c050
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion templates/base.jinja.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Text search example</title>
<title>Python FastAPI HTMX full-text-search demo</title>

<script src="/static/htmx.min.js"></script>
<link rel="stylesheet" type="text/css" href="/static/style.css">
Expand Down
6 changes: 1 addition & 5 deletions templates/index.jinja.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@ <h1>Text search example</h1>
hx-get="/html-api/items"
hx-params="search_query, search_index"
hx-target="#search-results-container"
hx-trigger="
keyup delay:800ms from:input queue:last changed,
change from:select queue:last,
submit
"
hx-trigger="keyup delay:800ms from:input queue:last changed, change from:select queue:last, submit"
>
<input
type="text"
Expand Down

0 comments on commit 9c0c050

Please sign in to comment.