Fix docs.md trigger attribute in polling section

This commit is contained in:
Jon Cram 2020-05-28 07:41:49 +01:00 committed by GitHub
parent 9b7a6d5a28
commit d6ee2b539e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -189,7 +189,7 @@ If you want an element to poll the given URL rather than wait for an event, you
with the [`hx-trigger`](/attributes/hx-trigger/) attribute:
```html
<div hx-get="/news" trigger="every 2s">
<div hx-get="/news" hx-trigger="every 2s">
</div>
```